Class IoTDataConnectorProperties
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.DataConnectorWithAlertsProperties
-
- com.azure.resourcemanager.securityinsights.fluent.models.IoTDataConnectorProperties
-
public final class IoTDataConnectorProperties extends DataConnectorWithAlertsProperties
IoT data connector properties.
-
-
Constructor Summary
Constructors Constructor Description IoTDataConnectorProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
subscriptionId()
Get the subscriptionId property: The subscription id to connect to, and get the data from.void
validate()
Validates the instance.IoTDataConnectorProperties
withDataTypes(AlertsDataTypeOfDataConnector dataTypes)
Set the dataTypes property: The available data types for the connector.IoTDataConnectorProperties
withSubscriptionId(String subscriptionId)
Set the subscriptionId property: The subscription id to connect to, and get the data from.-
Methods inherited from class com.azure.resourcemanager.securityinsights.models.DataConnectorWithAlertsProperties
dataTypes
-
-
-
-
Method Detail
-
subscriptionId
public String subscriptionId()
Get the subscriptionId property: The subscription id to connect to, and get the data from.- Returns:
- the subscriptionId value.
-
withSubscriptionId
public IoTDataConnectorProperties withSubscriptionId(String subscriptionId)
Set the subscriptionId property: The subscription id to connect to, and get the data from.- Parameters:
subscriptionId
- the subscriptionId value to set.- Returns:
- the IoTDataConnectorProperties object itself.
-
withDataTypes
public IoTDataConnectorProperties withDataTypes(AlertsDataTypeOfDataConnector dataTypes)
Set the dataTypes property: The available data types for the connector.- Overrides:
withDataTypes
in classDataConnectorWithAlertsProperties
- Parameters:
dataTypes
- the dataTypes value to set.- Returns:
- the DataConnectorWithAlertsProperties object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDataConnectorWithAlertsProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-