Class IoTDataConnector
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.models.ResourceWithEtag
com.azure.resourcemanager.securityinsights.fluent.models.DataConnectorInner
com.azure.resourcemanager.securityinsights.models.IoTDataConnector
Represents IoT data connector.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dataTypes property: The available data types for the connector.Get the subscriptionId property: The subscription id to connect to, and get the data from.void
validate()
Validates the instance.withDataTypes
(AlertsDataTypeOfDataConnector dataTypes) Set the dataTypes property: The available data types for the connector.Set the etag property: Etag of the azure resource.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.ResourceWithEtag
etag, systemData
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
IoTDataConnector
public IoTDataConnector()
-
-
Method Details
-
withEtag
Set the etag property: Etag of the azure resource.- Overrides:
withEtag
in classDataConnectorInner
- Parameters:
etag
- the etag value to set.- Returns:
- the ResourceWithEtag object itself.
-
subscriptionId
Get the subscriptionId property: The subscription id to connect to, and get the data from.- Returns:
- the subscriptionId value.
-
withSubscriptionId
Set the subscriptionId property: The subscription id to connect to, and get the data from.- Parameters:
subscriptionId
- the subscriptionId value to set.- Returns:
- the IoTDataConnector object itself.
-
dataTypes
Get the dataTypes property: The available data types for the connector.- Returns:
- the dataTypes value.
-
withDataTypes
Set the dataTypes property: The available data types for the connector.- Parameters:
dataTypes
- the dataTypes value to set.- Returns:
- the IoTDataConnector object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classDataConnectorInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-