public class UpdateTrailResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
UpdateTrailResult() |
Modifier and Type | Method and Description |
---|---|
UpdateTrailResult |
clone() |
boolean |
equals(Object obj) |
String |
getCloudWatchLogsLogGroupArn()
Specifies the Amazon Resource Name (ARN) of the log group to which
CloudTrail logs will be delivered.
|
String |
getCloudWatchLogsRoleArn()
Specifies the role for the CloudWatch Logs endpoint to assume to write to
a user's log group.
|
Boolean |
getIncludeGlobalServiceEvents()
Specifies whether the trail is publishing events from global services
such as IAM to the log files.
|
Boolean |
getIsMultiRegionTrail()
Specifies whether the trail exists in one region or in all regions.
|
String |
getKmsKeyId()
Specifies the KMS key ID that encrypts the logs delivered by CloudTrail.
|
Boolean |
getLogFileValidationEnabled()
Specifies whether log file integrity validation is enabled.
|
String |
getName()
Specifies the name of the trail.
|
String |
getS3BucketName()
Specifies the name of the Amazon S3 bucket designated for publishing log
files.
|
String |
getS3KeyPrefix()
Specifies the Amazon S3 key prefix that comes after the name of the
bucket you have designated for log file delivery.
|
String |
getSnsTopicName()
Specifies the name of the Amazon SNS topic defined for notification of
log file delivery.
|
String |
getTrailARN()
Specifies the ARN of the trail that was updated.
|
int |
hashCode() |
Boolean |
isIncludeGlobalServiceEvents()
Specifies whether the trail is publishing events from global services
such as IAM to the log files.
|
Boolean |
isLogFileValidationEnabled()
Specifies whether log file integrity validation is enabled.
|
Boolean |
isMultiRegionTrail()
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 |
setName(String name)
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 |
setSnsTopicName(String snsTopicName)
Specifies the name of the Amazon SNS topic defined for notification of
log file delivery.
|
void |
setTrailARN(String trailARN)
Specifies the ARN of the trail that was updated.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateTrailResult |
withCloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
Specifies the Amazon Resource Name (ARN) of the log group to which
CloudTrail logs will be delivered.
|
UpdateTrailResult |
withCloudWatchLogsRoleArn(String cloudWatchLogsRoleArn)
Specifies the role for the CloudWatch Logs endpoint to assume to write to
a user's log group.
|
UpdateTrailResult |
withIncludeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Specifies whether the trail is publishing events from global services
such as IAM to the log files.
|
UpdateTrailResult |
withIsMultiRegionTrail(Boolean isMultiRegionTrail)
Specifies whether the trail exists in one region or in all regions.
|
UpdateTrailResult |
withKmsKeyId(String kmsKeyId)
Specifies the KMS key ID that encrypts the logs delivered by CloudTrail.
|
UpdateTrailResult |
withLogFileValidationEnabled(Boolean logFileValidationEnabled)
Specifies whether log file integrity validation is enabled.
|
UpdateTrailResult |
withName(String name)
Specifies the name of the trail.
|
UpdateTrailResult |
withS3BucketName(String s3BucketName)
Specifies the name of the Amazon S3 bucket designated for publishing log
files.
|
UpdateTrailResult |
withS3KeyPrefix(String s3KeyPrefix)
Specifies the Amazon S3 key prefix that comes after the name of the
bucket you have designated for log file delivery.
|
UpdateTrailResult |
withSnsTopicName(String snsTopicName)
Specifies the name of the Amazon SNS topic defined for notification of
log file delivery.
|
UpdateTrailResult |
withTrailARN(String trailARN)
Specifies the ARN of the trail that was updated.
|
public void setName(String name)
Specifies the name of the trail.
name
- Specifies the name of the trail.public String getName()
Specifies the name of the trail.
public UpdateTrailResult withName(String name)
Specifies the name of the trail.
name
- Specifies the name of the trail.public void setS3BucketName(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.public String getS3BucketName()
Specifies the name of the Amazon S3 bucket designated for publishing log files.
public UpdateTrailResult withS3BucketName(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.public 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. 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.public String 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.
public UpdateTrailResult withS3KeyPrefix(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.public void setSnsTopicName(String snsTopicName)
Specifies the name of the Amazon SNS topic defined for notification of log file delivery.
snsTopicName
- Specifies the name of the Amazon SNS topic defined for
notification of log file delivery.public String getSnsTopicName()
Specifies the name of the Amazon SNS topic defined for notification of log file delivery.
public UpdateTrailResult withSnsTopicName(String snsTopicName)
Specifies the name of the Amazon SNS topic defined for notification of log file delivery.
snsTopicName
- Specifies the name of the Amazon SNS topic defined for
notification of log file delivery.public void setIncludeGlobalServiceEvents(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.public Boolean getIncludeGlobalServiceEvents()
Specifies whether the trail is publishing events from global services such as IAM to the log files.
public UpdateTrailResult withIncludeGlobalServiceEvents(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.public Boolean isIncludeGlobalServiceEvents()
Specifies whether the trail is publishing events from global services such as IAM to the log files.
public void setIsMultiRegionTrail(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.public Boolean getIsMultiRegionTrail()
Specifies whether the trail exists in one region or in all regions.
public UpdateTrailResult withIsMultiRegionTrail(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.public Boolean isMultiRegionTrail()
Specifies whether the trail exists in one region or in all regions.
public void setTrailARN(String trailARN)
Specifies the ARN of the trail that was updated.
trailARN
- Specifies the ARN of the trail that was updated.public String getTrailARN()
Specifies the ARN of the trail that was updated.
public UpdateTrailResult withTrailARN(String trailARN)
Specifies the ARN of the trail that was updated.
trailARN
- Specifies the ARN of the trail that was updated.public void setLogFileValidationEnabled(Boolean logFileValidationEnabled)
Specifies whether log file integrity validation is enabled.
logFileValidationEnabled
- Specifies whether log file integrity validation is enabled.public Boolean getLogFileValidationEnabled()
Specifies whether log file integrity validation is enabled.
public UpdateTrailResult withLogFileValidationEnabled(Boolean logFileValidationEnabled)
Specifies whether log file integrity validation is enabled.
logFileValidationEnabled
- Specifies whether log file integrity validation is enabled.public Boolean isLogFileValidationEnabled()
Specifies whether log file integrity validation is enabled.
public void setCloudWatchLogsLogGroupArn(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.public String getCloudWatchLogsLogGroupArn()
Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.
public UpdateTrailResult withCloudWatchLogsLogGroupArn(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.public void setCloudWatchLogsRoleArn(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.public String getCloudWatchLogsRoleArn()
Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
public UpdateTrailResult withCloudWatchLogsRoleArn(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.public void setKmsKeyId(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
public String 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
arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
public UpdateTrailResult withKmsKeyId(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
public String toString()
toString
in class Object
Object.toString()
public UpdateTrailResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.