Package | Description |
---|---|
com.amazonaws.services.cloudtrail.model |
Modifier and Type | Method and Description |
---|---|
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)
Name of the trail set by calling CreateTrail.
|
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.
|
Modifier and Type | Method and Description |
---|---|
List<Trail> |
DescribeTrailsResult.getTrailList()
The list of trail objects.
|
Modifier and Type | Method and Description |
---|---|
DescribeTrailsResult |
DescribeTrailsResult.withTrailList(Trail... trailList)
The list of trail objects.
|
Modifier and Type | Method and Description |
---|---|
void |
DescribeTrailsResult.setTrailList(Collection<Trail> trailList)
The list of trail objects.
|
DescribeTrailsResult |
DescribeTrailsResult.withTrailList(Collection<Trail> trailList)
The list of trail objects.
|
Copyright © 2018. All rights reserved.