@Generated(value="software.amazon.awssdk:codegen") public final class AwsCloudTrailTrailDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsCloudTrailTrailDetails.Builder,AwsCloudTrailTrailDetails>
Provides details about a CloudTrail trail.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsCloudTrailTrailDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsCloudTrailTrailDetails.Builder |
builder() |
String |
cloudWatchLogsLogGroupArn()
The ARN of the log group that CloudTrail logs are delivered to.
|
String |
cloudWatchLogsRoleArn()
The ARN of the role that the CloudWatch Events endpoint assumes when it writes to the log group.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Boolean |
hasCustomEventSelectors()
Indicates whether the trail has custom event selectors.
|
int |
hashCode() |
String |
homeRegion()
The Region where the trail was created.
|
Boolean |
includeGlobalServiceEvents()
Indicates whether the trail publishes events from global services such as IAM to the log files.
|
Boolean |
isMultiRegionTrail()
Indicates whether the trail applies only to the current Region or to all Regions.
|
Boolean |
isOrganizationTrail()
Whether the trail is created for all accounts in an organization in Organizations, or only for the current Amazon
Web Services account.
|
String |
kmsKeyId()
The KMS key ID to use to encrypt the logs.
|
Boolean |
logFileValidationEnabled()
Indicates whether CloudTrail log file validation is enabled.
|
String |
name()
The name of the trail.
|
String |
s3BucketName()
The name of the S3 bucket where the log files are published.
|
String |
s3KeyPrefix()
The S3 key prefix.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsCloudTrailTrailDetails.Builder> |
serializableBuilderClass() |
String |
snsTopicArn()
The ARN of the SNS topic that is used for notifications of log file delivery.
|
String |
snsTopicName()
The name of the SNS topic that is used for notifications of log file delivery.
|
AwsCloudTrailTrailDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
trailArn()
The ARN of the trail.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String cloudWatchLogsLogGroupArn()
The ARN of the log group that CloudTrail logs are delivered to.
public final String cloudWatchLogsRoleArn()
The ARN of the role that the CloudWatch Events endpoint assumes when it writes to the log group.
public final Boolean hasCustomEventSelectors()
Indicates whether the trail has custom event selectors.
public final String homeRegion()
The Region where the trail was created.
public final Boolean includeGlobalServiceEvents()
Indicates whether the trail publishes events from global services such as IAM to the log files.
public final Boolean isMultiRegionTrail()
Indicates whether the trail applies only to the current Region or to all Regions.
public final Boolean isOrganizationTrail()
Whether the trail is created for all accounts in an organization in Organizations, or only for the current Amazon Web Services account.
public final String kmsKeyId()
The KMS key ID to use to encrypt the logs.
public final Boolean logFileValidationEnabled()
Indicates whether CloudTrail log file validation is enabled.
public final String name()
The name of the trail.
public final String s3BucketName()
The name of the S3 bucket where the log files are published.
public final String s3KeyPrefix()
The S3 key prefix. The key prefix is added after the name of the S3 bucket where the log files are published.
public final String snsTopicArn()
The ARN of the SNS topic that is used for notifications of log file delivery.
public final String snsTopicName()
The name of the SNS topic that is used for notifications of log file delivery.
public final String trailArn()
The ARN of the trail.
public AwsCloudTrailTrailDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsCloudTrailTrailDetails.Builder,AwsCloudTrailTrailDetails>public static AwsCloudTrailTrailDetails.Builder builder()
public static Class<? extends AwsCloudTrailTrailDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.