ToCopyableBuilder<CreateTrailResponse.Builder,CreateTrailResponse>
@Generated("software.amazon.awssdk:codegen") public class CreateTrailResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<CreateTrailResponse.Builder,CreateTrailResponse>
Returns the objects or data listed below if successful. Otherwise, returns an error.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateTrailResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static CreateTrailResponse.Builder |
builder() |
|
String |
cloudWatchLogsLogGroupArn() |
Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be 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) |
|
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.
|
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.
|
static Class<? extends CreateTrailResponse.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() |
This field is deprecated.
|
CreateTrailResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
trailARN() |
Specifies the ARN of the trail that was created.
|
setSdkHttpMetadata, setSdkResponseMetadata
public String name()
Specifies the name of the trail.
public String s3BucketName()
Specifies the name of the Amazon S3 bucket designated for publishing log files.
public 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.
public String snsTopicName()
This field is deprecated. Use SnsTopicARN.
public String 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
arn:aws:sns:us-east-1:123456789012:MyTopic
public Boolean includeGlobalServiceEvents()
Specifies whether the trail is publishing events from global services such as IAM to the log files.
public Boolean isMultiRegionTrail()
Specifies whether the trail exists in one region or in all regions.
public String trailARN()
Specifies the ARN of the trail that was created. The format of a trail ARN is:
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail
public Boolean logFileValidationEnabled()
Specifies whether log file integrity validation is enabled.
public String cloudWatchLogsLogGroupArn()
Specifies the Amazon Resource Name (ARN) of the log group to which CloudTrail logs will be delivered.
public String cloudWatchLogsRoleArn()
Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group.
public 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
arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
public CreateTrailResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateTrailResponse.Builder,CreateTrailResponse>
public static CreateTrailResponse.Builder builder()
public static Class<? extends CreateTrailResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.