Class UpdateTrailResult
- All Implemented Interfaces:
Serializable
,Cloneable
Returns the objects or data listed below if successful. Otherwise, returns an error.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.Specifies whether the trail is publishing events from global services such as IAM to the log files.Specifies whether the trail exists in one region or in all regions.Specifies the KMS key ID that encrypts the logs delivered by CloudTrail.Specifies whether log file integrity validation is enabled.getName()
Specifies the name of the trail.Specifies the name of the Amazon S3 bucket designated for publishing log files.Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery.Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered.Deprecated.Specifies the ARN of the trail that was updated.int
hashCode()
Specifies whether the trail is publishing events from global services such as IAM to the log files.Specifies whether log file integrity validation is enabled.Specifies whether the trail exists in one region or in all regions.void
setCloudWatchLogsLogGroupArn
(String cloudWatchLogsLogGroupArn) Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.void
setCloudWatchLogsRoleArn
(String cloudWatchLogsRoleArn) Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.void
setIncludeGlobalServiceEvents
(Boolean includeGlobalServiceEvents) Specifies whether the trail is publishing events from global services such as IAM to the log files.void
setIsMultiRegionTrail
(Boolean isMultiRegionTrail) Specifies whether the trail exists in one region or in all regions.void
setKmsKeyId
(String kmsKeyId) Specifies the KMS key ID that encrypts the logs delivered by CloudTrail.void
setLogFileValidationEnabled
(Boolean logFileValidationEnabled) Specifies whether log file integrity validation is enabled.void
Specifies the name of the trail.void
setS3BucketName
(String s3BucketName) Specifies the name of the Amazon S3 bucket designated for publishing log files.void
setS3KeyPrefix
(String s3KeyPrefix) Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery.void
setSnsTopicARN
(String snsTopicARN) Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered.void
setSnsTopicName
(String snsTopicName) Deprecated.void
setTrailARN
(String trailARN) Specifies the ARN of the trail that was updated.toString()
Returns a string representation of this object; useful for testing and debugging.withCloudWatchLogsLogGroupArn
(String cloudWatchLogsLogGroupArn) Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.withCloudWatchLogsRoleArn
(String cloudWatchLogsRoleArn) Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.withIncludeGlobalServiceEvents
(Boolean includeGlobalServiceEvents) Specifies whether the trail is publishing events from global services such as IAM to the log files.withIsMultiRegionTrail
(Boolean isMultiRegionTrail) Specifies whether the trail exists in one region or in all regions.withKmsKeyId
(String kmsKeyId) Specifies the KMS key ID that encrypts the logs delivered by CloudTrail.withLogFileValidationEnabled
(Boolean logFileValidationEnabled) Specifies whether log file integrity validation is enabled.Specifies the name of the trail.withS3BucketName
(String s3BucketName) Specifies the name of the Amazon S3 bucket designated for publishing log files.withS3KeyPrefix
(String s3KeyPrefix) Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery.withSnsTopicARN
(String snsTopicARN) Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered.withSnsTopicName
(String snsTopicName) Deprecated.withTrailARN
(String trailARN) Specifies the ARN of the trail that was updated.
-
Constructor Details
-
UpdateTrailResult
public UpdateTrailResult()
-
-
Method Details
-
setName
Specifies the name of the trail.
- Parameters:
name
- Specifies the name of the trail.
-
getName
Specifies the name of the trail.
- Returns:
- Specifies the name of the trail.
-
withName
Specifies the name of the trail.
- Parameters:
name
- Specifies the name of the trail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setS3BucketName
Specifies the name of the Amazon S3 bucket designated for publishing log files.
- Parameters:
s3BucketName
- Specifies the name of the Amazon S3 bucket designated for publishing log files.
-
getS3BucketName
Specifies the name of the Amazon S3 bucket designated for publishing log files.
- Returns:
- Specifies the name of the Amazon S3 bucket designated for publishing log files.
-
withS3BucketName
Specifies the name of the Amazon S3 bucket designated for publishing log files.
- Parameters:
s3BucketName
- Specifies the name of the Amazon S3 bucket designated for publishing log files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setS3KeyPrefix
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.
- Parameters:
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.
-
getS3KeyPrefix
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.
- Returns:
- 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.
-
withS3KeyPrefix
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnsTopicName
Deprecated.Specifies the name of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered.
- Parameters:
snsTopicName
- Specifies the name of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered.
-
getSnsTopicName
Deprecated.Specifies the name of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered.
- Returns:
- Specifies the name of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered.
-
withSnsTopicName
Deprecated.Specifies the name of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered.
- Parameters:
snsTopicName
- Specifies the name of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnsTopicARN
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
- Parameters:
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
-
getSnsTopicARN
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
- Returns:
- 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
-
withSnsTopicARN
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIncludeGlobalServiceEvents
Specifies whether the trail is publishing events from global services such as IAM to the log files.
- Parameters:
includeGlobalServiceEvents
- Specifies whether the trail is publishing events from global services such as IAM to the log files.
-
getIncludeGlobalServiceEvents
Specifies whether the trail is publishing events from global services such as IAM to the log files.
- Returns:
- Specifies whether the trail is publishing events from global services such as IAM to the log files.
-
withIncludeGlobalServiceEvents
Specifies whether the trail is publishing events from global services such as IAM to the log files.
- Parameters:
includeGlobalServiceEvents
- Specifies whether the trail is publishing events from global services such as IAM to the log files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isIncludeGlobalServiceEvents
Specifies whether the trail is publishing events from global services such as IAM to the log files.
- Returns:
- Specifies whether the trail is publishing events from global services such as IAM to the log files.
-
setIsMultiRegionTrail
Specifies whether the trail exists in one region or in all regions.
- Parameters:
isMultiRegionTrail
- Specifies whether the trail exists in one region or in all regions.
-
getIsMultiRegionTrail
Specifies whether the trail exists in one region or in all regions.
- Returns:
- Specifies whether the trail exists in one region or in all regions.
-
withIsMultiRegionTrail
Specifies whether the trail exists in one region or in all regions.
- Parameters:
isMultiRegionTrail
- Specifies whether the trail exists in one region or in all regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isMultiRegionTrail
Specifies whether the trail exists in one region or in all regions.
- Returns:
- Specifies whether the trail exists in one region or in all regions.
-
setTrailARN
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
- Parameters:
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
-
getTrailARN
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
- Returns:
- 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
-
withTrailARN
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLogFileValidationEnabled
Specifies whether log file integrity validation is enabled.
- Parameters:
logFileValidationEnabled
- Specifies whether log file integrity validation is enabled.
-
getLogFileValidationEnabled
Specifies whether log file integrity validation is enabled.
- Returns:
- Specifies whether log file integrity validation is enabled.
-
withLogFileValidationEnabled
Specifies whether log file integrity validation is enabled.
- Parameters:
logFileValidationEnabled
- Specifies whether log file integrity validation is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isLogFileValidationEnabled
Specifies whether log file integrity validation is enabled.
- Returns:
- Specifies whether log file integrity validation is enabled.
-
setCloudWatchLogsLogGroupArn
Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.
- Parameters:
cloudWatchLogsLogGroupArn
- Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.
-
getCloudWatchLogsLogGroupArn
Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.
- Returns:
- Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.
-
withCloudWatchLogsLogGroupArn
Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.
- Parameters:
cloudWatchLogsLogGroupArn
- Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCloudWatchLogsRoleArn
Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
- Parameters:
cloudWatchLogsRoleArn
- Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
-
getCloudWatchLogsRoleArn
Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
- Returns:
- Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
-
withCloudWatchLogsRoleArn
Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
- Parameters:
cloudWatchLogsRoleArn
- Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setKmsKeyId
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
- Parameters:
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
-
getKmsKeyId
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
- Returns:
- 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
-
withKmsKeyId
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-