Class AwsCloudTrailDataConnector

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

public final class AwsCloudTrailDataConnector extends DataConnectorInner
Represents Amazon Web Services CloudTrail data connector.
  • Constructor Details

    • AwsCloudTrailDataConnector

      public AwsCloudTrailDataConnector()
  • Method Details

    • withEtag

      public AwsCloudTrailDataConnector 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.
    • awsRoleArn

      public String awsRoleArn()
      Get the awsRoleArn property: The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account.
      Returns:
      the awsRoleArn value.
    • withAwsRoleArn

      public AwsCloudTrailDataConnector withAwsRoleArn(String awsRoleArn)
      Set the awsRoleArn property: The Aws Role Arn (with CloudTrailReadOnly policy) that is used to access the Aws account.
      Parameters:
      awsRoleArn - the awsRoleArn value to set.
      Returns:
      the AwsCloudTrailDataConnector 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 AwsCloudTrailDataConnector object itself.
    • validate

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