Trail |
Trail.clone() |
|
Trail |
Trail.withCloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn) |
Specifies an Amazon Resource Name (ARN), a unique identifier that
represents the log group to which CloudTrail logs will be delivered.
|
Trail |
Trail.withCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn) |
Specifies the role for the CloudWatch Logs endpoint to assume to write to
a user's log group.
|
Trail |
Trail.withHomeRegion(String homeRegion) |
The region in which the trail was created.
|
Trail |
Trail.withIncludeGlobalServiceEvents(Boolean includeGlobalServiceEvents) |
Set to True to include AWS API calls from AWS global services such
as IAM.
|
Trail |
Trail.withIsMultiRegionTrail(Boolean isMultiRegionTrail) |
Specifies whether the trail belongs only to one region or exists in all
regions.
|
Trail |
Trail.withKmsKeyId(String kmsKeyId) |
Specifies the KMS key ID that encrypts the logs delivered by CloudTrail.
|
Trail |
Trail.withLogFileValidationEnabled(Boolean logFileValidationEnabled) |
Specifies whether log file validation is enabled.
|
Trail |
Trail.withName(String name) |
|
Trail |
Trail.withS3BucketName(String s3BucketName) |
Name of the Amazon S3 bucket into which CloudTrail delivers your trail
files.
|
Trail |
Trail.withS3KeyPrefix(String s3KeyPrefix) |
Specifies the Amazon S3 key prefix that comes after the name of the
bucket you have designated for log file delivery.
|
Trail |
Trail.withSnsTopicARN(String snsTopicARN) |
Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send
notifications when log files are delivered.
|
Trail |
Trail.withSnsTopicName(String snsTopicName) |
Deprecated.
|
Trail |
Trail.withTrailARN(String trailARN) |
Specifies the ARN of the trail.
|