Class AwsCloudTrailDataConnectorProperties


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

      • AwsCloudTrailDataConnectorProperties

        public AwsCloudTrailDataConnectorProperties()
    • Method Detail

      • 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.
      • validate

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