@Generated(value="software.amazon.awssdk:codegen") public final class UpdateTrailResponse extends CloudTrailResponse implements ToCopyableBuilder<UpdateTrailResponse.Builder,UpdateTrailResponse>
Returns the objects or data listed below if successful. Otherwise, returns an error.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateTrailResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateTrailResponse.Builder |
builder() |
String |
cloudWatchLogsLogGroupArn()
Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs are delivered.
|
String |
cloudWatchLogsRoleArn()
Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
includeGlobalServiceEvents()
Specifies whether the trail is publishing events from global services such as IAM to the log files.
|
Boolean |
isMultiRegionTrail()
Specifies whether the trail exists in one region or in all regions.
|
Boolean |
isOrganizationTrail()
Specifies whether the trail is an organization trail.
|
String |
kmsKeyId()
Specifies the KMS key ID that encrypts the logs delivered by CloudTrail.
|
Boolean |
logFileValidationEnabled()
Specifies whether log file integrity validation is enabled.
|
String |
name()
Specifies the name of the trail.
|
String |
s3BucketName()
Specifies the name of the Amazon S3 bucket designated for publishing log files.
|
String |
s3KeyPrefix()
Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file
delivery.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateTrailResponse.Builder> |
serializableBuilderClass() |
String |
snsTopicARN()
Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are
delivered.
|
String |
snsTopicName()
Deprecated.
|
UpdateTrailResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
trailARN()
Specifies the ARN of the trail that was updated.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
Specifies the name of the trail.
public final String s3BucketName()
Specifies the name of the Amazon S3 bucket designated for publishing log files.
public final 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 IAM Log Files.
@Deprecated public final String snsTopicName()
This field is no longer in use. Use UpdateTrailResponse$SnsTopicARN.
public final String snsTopicARN()
Specifies the ARN of the Amazon SNS topic that CloudTrail uses to send notifications when log files are delivered. The following is the format of a topic ARN.
arn:aws:sns:us-east-2:123456789012:MyTopic
arn:aws:sns:us-east-2:123456789012:MyTopic
public final Boolean includeGlobalServiceEvents()
Specifies whether the trail is publishing events from global services such as IAM to the log files.
public final Boolean isMultiRegionTrail()
Specifies whether the trail exists in one region or in all regions.
public final String trailARN()
Specifies the ARN of the trail that was updated. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
public final Boolean logFileValidationEnabled()
Specifies whether log file integrity validation is enabled.
public final String cloudWatchLogsLogGroupArn()
Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs are delivered.
public final String cloudWatchLogsRoleArn()
Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
public final 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 following format.
arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012
public final Boolean isOrganizationTrail()
Specifies whether the trail is an organization trail.
public UpdateTrailResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateTrailResponse.Builder,UpdateTrailResponse>toBuilder in class AwsResponsepublic static UpdateTrailResponse.Builder builder()
public static Class<? extends UpdateTrailResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.