Class AwsCloudTrailDataConnectorProperties

java.lang.Object
com.azure.resourcemanager.securityinsights.fluent.models.AwsCloudTrailDataConnectorProperties

public final class AwsCloudTrailDataConnectorProperties extends Object
Amazon Web Services CloudTrail data connector properties.
  • Constructor Details

    • AwsCloudTrailDataConnectorProperties

      public AwsCloudTrailDataConnectorProperties()
  • Method Details

    • 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 AwsCloudTrailDataConnectorProperties 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 AwsCloudTrailDataConnectorProperties 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 AwsCloudTrailDataConnectorProperties object itself.
    • validate

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