Class AscDataConnector
- 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.AscDataConnector
-
public final class AscDataConnector extends DataConnectorInner
Represents ASC (Azure Security Center) data connector.
-
-
Constructor Summary
Constructors Constructor Description AscDataConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertsDataTypeOfDataConnector
dataTypes()
Get the dataTypes property: The available data types for the connector.String
subscriptionId()
Get the subscriptionId property: The subscription id to connect to, and get the data from.void
validate()
Validates the instance.AscDataConnector
withDataTypes(AlertsDataTypeOfDataConnector dataTypes)
Set the dataTypes property: The available data types for the connector.AscDataConnector
withEtag(String etag)
Set the etag property: Etag of the azure resource.AscDataConnector
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
-
-
-
-
Method Detail
-
withEtag
public AscDataConnector withEtag(String etag)
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
public String subscriptionId()
Get the subscriptionId property: The subscription id to connect to, and get the data from.- Returns:
- the subscriptionId value.
-
withSubscriptionId
public AscDataConnector 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 AscDataConnector object itself.
-
dataTypes
public AlertsDataTypeOfDataConnector dataTypes()
Get the dataTypes property: The available data types for the connector.- Returns:
- the dataTypes value.
-
withDataTypes
public AscDataConnector withDataTypes(AlertsDataTypeOfDataConnector dataTypes)
Set the dataTypes property: The available data types for the connector.- Parameters:
dataTypes
- the dataTypes value to set.- Returns:
- the AscDataConnector object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDataConnectorInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-