Class MtpDataConnector

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

public final class MtpDataConnector extends DataConnectorInner
Represents MTP (Microsoft Threat Protection) data connector.
  • Constructor Details

    • MtpDataConnector

      public MtpDataConnector()
  • Method Details

    • withEtag

      public MtpDataConnector 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 MtpDataConnectorDataTypes dataTypes()
      Get the dataTypes property: The available data types for the connector.
      Returns:
      the dataTypes value.
    • withDataTypes

      public MtpDataConnector withDataTypes(MtpDataConnectorDataTypes dataTypes)
      Set the dataTypes property: The available data types for the connector.
      Parameters:
      dataTypes - the dataTypes value to set.
      Returns:
      the MtpDataConnector 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 MtpDataConnector 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 MtpDataConnector object itself.
    • validate

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