public static interface AwsCloudTrailTrailDetails.Builder extends SdkPojo, CopyableBuilder<AwsCloudTrailTrailDetails.Builder,AwsCloudTrailTrailDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsCloudTrailTrailDetails.Builder |
cloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
The ARN of the log group that CloudTrail logs are delivered to.
|
AwsCloudTrailTrailDetails.Builder |
cloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The ARN of the role that the CloudWatch Events endpoint assumes when it writes to the log group.
|
AwsCloudTrailTrailDetails.Builder |
hasCustomEventSelectors(Boolean hasCustomEventSelectors)
Indicates whether the trail has custom event selectors.
|
AwsCloudTrailTrailDetails.Builder |
homeRegion(String homeRegion)
The Region where the trail was created.
|
AwsCloudTrailTrailDetails.Builder |
includeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Indicates whether the trail publishes events from global services such as IAM to the log files.
|
AwsCloudTrailTrailDetails.Builder |
isMultiRegionTrail(Boolean isMultiRegionTrail)
Indicates whether the trail applies only to the current Region or to all Regions.
|
AwsCloudTrailTrailDetails.Builder |
isOrganizationTrail(Boolean isOrganizationTrail)
Whether the trail is created for all accounts in an organization in Organizations, or only for the current
Amazon Web Services account.
|
AwsCloudTrailTrailDetails.Builder |
kmsKeyId(String kmsKeyId)
The KMS key ID to use to encrypt the logs.
|
AwsCloudTrailTrailDetails.Builder |
logFileValidationEnabled(Boolean logFileValidationEnabled)
Indicates whether CloudTrail log file validation is enabled.
|
AwsCloudTrailTrailDetails.Builder |
name(String name)
The name of the trail.
|
AwsCloudTrailTrailDetails.Builder |
s3BucketName(String s3BucketName)
The name of the S3 bucket where the log files are published.
|
AwsCloudTrailTrailDetails.Builder |
s3KeyPrefix(String s3KeyPrefix)
The S3 key prefix.
|
AwsCloudTrailTrailDetails.Builder |
snsTopicArn(String snsTopicArn)
The ARN of the SNS topic that is used for notifications of log file delivery.
|
AwsCloudTrailTrailDetails.Builder |
snsTopicName(String snsTopicName)
The name of the SNS topic that is used for notifications of log file delivery.
|
AwsCloudTrailTrailDetails.Builder |
trailArn(String trailArn)
The ARN of the trail.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsCloudTrailTrailDetails.Builder cloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
The ARN of the log group that CloudTrail logs are delivered to.
cloudWatchLogsLogGroupArn - The ARN of the log group that CloudTrail logs are delivered to.AwsCloudTrailTrailDetails.Builder cloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
The ARN of the role that the CloudWatch Events endpoint assumes when it writes to the log group.
cloudWatchLogsRoleArn - The ARN of the role that the CloudWatch Events endpoint assumes when it writes to the log group.AwsCloudTrailTrailDetails.Builder hasCustomEventSelectors(Boolean hasCustomEventSelectors)
Indicates whether the trail has custom event selectors.
hasCustomEventSelectors - Indicates whether the trail has custom event selectors.AwsCloudTrailTrailDetails.Builder homeRegion(String homeRegion)
The Region where the trail was created.
homeRegion - The Region where the trail was created.AwsCloudTrailTrailDetails.Builder includeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Indicates whether the trail publishes events from global services such as IAM to the log files.
includeGlobalServiceEvents - Indicates whether the trail publishes events from global services such as IAM to the log files.AwsCloudTrailTrailDetails.Builder isMultiRegionTrail(Boolean isMultiRegionTrail)
Indicates whether the trail applies only to the current Region or to all Regions.
isMultiRegionTrail - Indicates whether the trail applies only to the current Region or to all Regions.AwsCloudTrailTrailDetails.Builder isOrganizationTrail(Boolean isOrganizationTrail)
Whether the trail is created for all accounts in an organization in Organizations, or only for the current Amazon Web Services account.
isOrganizationTrail - Whether the trail is created for all accounts in an organization in Organizations, or only for the
current Amazon Web Services account.AwsCloudTrailTrailDetails.Builder kmsKeyId(String kmsKeyId)
The KMS key ID to use to encrypt the logs.
kmsKeyId - The KMS key ID to use to encrypt the logs.AwsCloudTrailTrailDetails.Builder logFileValidationEnabled(Boolean logFileValidationEnabled)
Indicates whether CloudTrail log file validation is enabled.
logFileValidationEnabled - Indicates whether CloudTrail log file validation is enabled.AwsCloudTrailTrailDetails.Builder name(String name)
The name of the trail.
name - The name of the trail.AwsCloudTrailTrailDetails.Builder s3BucketName(String s3BucketName)
The name of the S3 bucket where the log files are published.
s3BucketName - The name of the S3 bucket where the log files are published.AwsCloudTrailTrailDetails.Builder s3KeyPrefix(String s3KeyPrefix)
The S3 key prefix. The key prefix is added after the name of the S3 bucket where the log files are published.
s3KeyPrefix - The S3 key prefix. The key prefix is added after the name of the S3 bucket where the log files are
published.AwsCloudTrailTrailDetails.Builder snsTopicArn(String snsTopicArn)
The ARN of the SNS topic that is used for notifications of log file delivery.
snsTopicArn - The ARN of the SNS topic that is used for notifications of log file delivery.AwsCloudTrailTrailDetails.Builder snsTopicName(String snsTopicName)
The name of the SNS topic that is used for notifications of log file delivery.
snsTopicName - The name of the SNS topic that is used for notifications of log file delivery.AwsCloudTrailTrailDetails.Builder trailArn(String trailArn)
The ARN of the trail.
trailArn - The ARN of the trail.Copyright © 2023. All rights reserved.