public static interface Trail.Builder extends CopyableBuilder<Trail.Builder,Trail>
Modifier and Type | Method and Description |
---|---|
Trail.Builder |
cloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
Specifies an Amazon Resource Name (ARN), a unique identifier that represents the log group to which
CloudTrail logs will be delivered.
|
Trail.Builder |
cloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
|
Trail.Builder |
hasCustomEventSelectors(Boolean hasCustomEventSelectors)
Specifies if the trail has custom event selectors.
|
Trail.Builder |
homeRegion(String homeRegion)
The region in which the trail was created.
|
Trail.Builder |
includeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Set to True to include AWS API calls from AWS global services such as IAM.
|
Trail.Builder |
isMultiRegionTrail(Boolean isMultiRegionTrail)
Specifies whether the trail belongs only to one region or exists in all regions.
|
Trail.Builder |
kmsKeyId(String kmsKeyId)
Specifies the KMS key ID that encrypts the logs delivered by CloudTrail.
|
Trail.Builder |
logFileValidationEnabled(Boolean logFileValidationEnabled)
Specifies whether log file validation is enabled.
|
Trail.Builder |
name(String name)
Name of the trail set by calling CreateTrail.
|
Trail.Builder |
s3BucketName(String s3BucketName)
Name of the Amazon S3 bucket into which CloudTrail delivers your trail files.
|
Trail.Builder |
s3KeyPrefix(String s3KeyPrefix)
Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file
delivery.
|
Trail.Builder |
snsTopicARN(String snsTopicARN)
Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are
delivered.
|
Trail.Builder |
snsTopicName(String snsTopicName)
This field is deprecated.
|
Trail.Builder |
trailARN(String trailARN)
Specifies the ARN of the trail.
|
copy
applyMutation, build
Trail.Builder name(String name)
Name of the trail set by calling CreateTrail. The maximum length is 128 characters.
name
- Name of the trail set by calling CreateTrail. The maximum length is 128 characters.Trail.Builder s3BucketName(String s3BucketName)
Name of the Amazon S3 bucket into which CloudTrail delivers your trail files. See Amazon S3 Bucket Naming Requirements.
s3BucketName
- Name of the Amazon S3 bucket into which CloudTrail delivers your trail files. See Amazon S3 Bucket Naming Requirements.Trail.Builder s3KeyPrefix(String s3KeyPrefix)
Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see Finding Your CloudTrail Log Files.The maximum length is 200 characters.
s3KeyPrefix
- Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log
file delivery. For more information, see Finding Your CloudTrail Log Files.The maximum length is 200 characters.Trail.Builder snsTopicName(String snsTopicName)
This field is deprecated. Use SnsTopicARN.
snsTopicName
- This field is deprecated. Use SnsTopicARN.Trail.Builder snsTopicARN(String snsTopicARN)
Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered. The format of a topic ARN is:
arn:aws:sns:us-east-1:123456789012:MyTopic
snsTopicARN
- Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files
are delivered. The format of a topic ARN is:
arn:aws:sns:us-east-1:123456789012:MyTopic
Trail.Builder includeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Set to True to include AWS API calls from AWS global services such as IAM. Otherwise, False.
includeGlobalServiceEvents
- Set to True to include AWS API calls from AWS global services such as IAM. Otherwise,
False.Trail.Builder isMultiRegionTrail(Boolean isMultiRegionTrail)
Specifies whether the trail belongs only to one region or exists in all regions.
isMultiRegionTrail
- Specifies whether the trail belongs only to one region or exists in all regions.Trail.Builder homeRegion(String homeRegion)
The region in which the trail was created.
homeRegion
- The region in which the trail was created.Trail.Builder trailARN(String trailARN)
Specifies the ARN of the trail. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
trailARN
- Specifies the ARN of the trail. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
Trail.Builder logFileValidationEnabled(Boolean logFileValidationEnabled)
Specifies whether log file validation is enabled.
logFileValidationEnabled
- Specifies whether log file validation is enabled.Trail.Builder cloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
Specifies an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs will be delivered.
cloudWatchLogsLogGroupArn
- Specifies an Amazon Resource Name (ARN), a unique identifier that represents the log group to which
CloudTrail logs will be delivered.Trail.Builder cloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
cloudWatchLogsRoleArn
- Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.Trail.Builder kmsKeyId(String kmsKeyId)
Specifies the KMS key ID that encrypts the logs delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the format:
arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
kmsKeyId
- Specifies the KMS key ID that encrypts the logs delivered by CloudTrail. The value is a fully
specified ARN to a KMS key in the format:
arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
Trail.Builder hasCustomEventSelectors(Boolean hasCustomEventSelectors)
Specifies if the trail has custom event selectors.
hasCustomEventSelectors
- Specifies if the trail has custom event selectors.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.