public static interface UpdateTrailResponse.Builder extends CloudTrailResponse.Builder, CopyableBuilder<UpdateTrailResponse.Builder,UpdateTrailResponse>
Modifier and Type | Method and Description |
---|---|
UpdateTrailResponse.Builder |
cloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.
|
UpdateTrailResponse.Builder |
cloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
|
UpdateTrailResponse.Builder |
includeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Specifies whether the trail is publishing events from global services such as IAM to the log files.
|
UpdateTrailResponse.Builder |
isMultiRegionTrail(Boolean isMultiRegionTrail)
Specifies whether the trail exists in one region or in all regions.
|
UpdateTrailResponse.Builder |
kmsKeyId(String kmsKeyId)
Specifies the KMS key ID that encrypts the logs delivered by CloudTrail.
|
UpdateTrailResponse.Builder |
logFileValidationEnabled(Boolean logFileValidationEnabled)
Specifies whether log file integrity validation is enabled.
|
UpdateTrailResponse.Builder |
name(String name)
Specifies the name of the trail.
|
UpdateTrailResponse.Builder |
s3BucketName(String s3BucketName)
Specifies the name of the Amazon S3 bucket designated for publishing log files.
|
UpdateTrailResponse.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.
|
UpdateTrailResponse.Builder |
snsTopicARN(String snsTopicARN)
Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are
delivered.
|
UpdateTrailResponse.Builder |
snsTopicName(String snsTopicName)
This field is deprecated.
|
UpdateTrailResponse.Builder |
trailARN(String trailARN)
Specifies the ARN of the trail that was updated.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
UpdateTrailResponse.Builder name(String name)
Specifies the name of the trail.
name
- Specifies the name of the trail.UpdateTrailResponse.Builder s3BucketName(String s3BucketName)
Specifies the name of the Amazon S3 bucket designated for publishing log files.
s3BucketName
- Specifies the name of the Amazon S3 bucket designated for publishing log files.UpdateTrailResponse.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.
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.UpdateTrailResponse.Builder snsTopicName(String snsTopicName)
This field is deprecated. Use SnsTopicARN.
snsTopicName
- This field is deprecated. Use SnsTopicARN.UpdateTrailResponse.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
UpdateTrailResponse.Builder includeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Specifies whether the trail is publishing events from global services such as IAM to the log files.
includeGlobalServiceEvents
- Specifies whether the trail is publishing events from global services such as IAM to the log files.UpdateTrailResponse.Builder isMultiRegionTrail(Boolean isMultiRegionTrail)
Specifies whether the trail exists in one region or in all regions.
isMultiRegionTrail
- Specifies whether the trail exists in one region or in all regions.UpdateTrailResponse.Builder trailARN(String trailARN)
Specifies the ARN of the trail that was updated. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
trailARN
- Specifies the ARN of the trail that was updated. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
UpdateTrailResponse.Builder logFileValidationEnabled(Boolean logFileValidationEnabled)
Specifies whether log file integrity validation is enabled.
logFileValidationEnabled
- Specifies whether log file integrity validation is enabled.UpdateTrailResponse.Builder cloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.
cloudWatchLogsLogGroupArn
- Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.UpdateTrailResponse.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.UpdateTrailResponse.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
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.