Class AadDataConnector

java.lang.Object
com.azure.core.management.ProxyResource

public final class AadDataConnector extends DataConnectorInner
Represents AAD (Azure Active Directory) data connector.
  • Constructor Details

    • AadDataConnector

      public AadDataConnector()
  • Method Details

    • withEtag

      public AadDataConnector withEtag(String etag)
      Set the etag property: Etag of the azure resource.
      Overrides:
      withEtag in class DataConnectorInner
      Parameters:
      etag - the etag value to set.
      Returns:
      the ResourceWithEtag object itself.
    • dataTypes

      public AlertsDataTypeOfDataConnector dataTypes()
      Get the dataTypes property: The available data types for the connector.
      Returns:
      the dataTypes value.
    • withDataTypes

      public AadDataConnector withDataTypes(AlertsDataTypeOfDataConnector dataTypes)
      Set the dataTypes property: The available data types for the connector.
      Parameters:
      dataTypes - the dataTypes value to set.
      Returns:
      the AadDataConnector object itself.
    • tenantId

      public String tenantId()
      Get the tenantId property: The tenant id to connect to, and get the data from.
      Returns:
      the tenantId value.
    • withTenantId

      public AadDataConnector withTenantId(String tenantId)
      Set the tenantId property: The tenant id to connect to, and get the data from.
      Parameters:
      tenantId - the tenantId value to set.
      Returns:
      the AadDataConnector object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class DataConnectorInner
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.