public class Trail extends Object implements Serializable
The settings for a trail.
Constructor and Description |
---|
Trail() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getIncludeGlobalServiceEvents()
Set to True to include AWS API calls from AWS global services
such as IAM.
|
String |
getName()
Name of the trail defined when you call when you call
CreateTrail
|
String |
getS3BucketName()
Name of the Amazon S3 bucket into which CloudTrail delivers your trail
files.
|
String |
getS3KeyPrefix()
Value of the Amazon S3 prefix
|
String |
getSnsTopicName()
Name of the existing Amazon SNS topic that CloudTrail uses to notify
the account owner when new CloudTrail log files have been delivered.
|
int |
hashCode() |
Boolean |
isIncludeGlobalServiceEvents()
Set to True to include AWS API calls from AWS global services
such as IAM.
|
void |
setIncludeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Set to True to include AWS API calls from AWS global services
such as IAM.
|
void |
setName(String name)
Name of the trail defined when you call when you call
CreateTrail
|
void |
setS3BucketName(String s3BucketName)
Name of the Amazon S3 bucket into which CloudTrail delivers your trail
files.
|
void |
setS3KeyPrefix(String s3KeyPrefix)
Value of the Amazon S3 prefix
|
void |
setSnsTopicName(String snsTopicName)
Name of the existing Amazon SNS topic that CloudTrail uses to notify
the account owner when new CloudTrail log files have been delivered.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Trail |
withIncludeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Set to True to include AWS API calls from AWS global services
such as IAM.
|
Trail |
withName(String name)
Name of the trail defined when you call when you call
CreateTrail
|
Trail |
withS3BucketName(String s3BucketName)
Name of the Amazon S3 bucket into which CloudTrail delivers your trail
files.
|
Trail |
withS3KeyPrefix(String s3KeyPrefix)
Value of the Amazon S3 prefix
|
Trail |
withSnsTopicName(String snsTopicName)
Name of the existing Amazon SNS topic that CloudTrail uses to notify
the account owner when new CloudTrail log files have been delivered.
|
public String getName()
public void setName(String name)
name
- Name of the trail defined when you call when you call
CreateTrailpublic Trail withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- Name of the trail defined when you call when you call
CreateTrailpublic String getS3BucketName()
public void setS3BucketName(String s3BucketName)
s3BucketName
- Name of the Amazon S3 bucket into which CloudTrail delivers your trail
files. Passed when you call CreateTrail.public Trail withS3BucketName(String s3BucketName)
Returns a reference to this object so that method calls can be chained together.
s3BucketName
- Name of the Amazon S3 bucket into which CloudTrail delivers your trail
files. Passed when you call CreateTrail.public String getS3KeyPrefix()
public void setS3KeyPrefix(String s3KeyPrefix)
s3KeyPrefix
- Value of the Amazon S3 prefixpublic Trail withS3KeyPrefix(String s3KeyPrefix)
Returns a reference to this object so that method calls can be chained together.
s3KeyPrefix
- Value of the Amazon S3 prefixpublic String getSnsTopicName()
public void setSnsTopicName(String snsTopicName)
snsTopicName
- Name of the existing Amazon SNS topic that CloudTrail uses to notify
the account owner when new CloudTrail log files have been delivered.public Trail withSnsTopicName(String snsTopicName)
Returns a reference to this object so that method calls can be chained together.
snsTopicName
- Name of the existing Amazon SNS topic that CloudTrail uses to notify
the account owner when new CloudTrail log files have been delivered.public Boolean isIncludeGlobalServiceEvents()
public void setIncludeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
includeGlobalServiceEvents
- Set to True to include AWS API calls from AWS global services
such as IAM. Otherwise, False.public Trail withIncludeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Returns a reference to this object so that method calls can be chained together.
includeGlobalServiceEvents
- Set to True to include AWS API calls from AWS global services
such as IAM. Otherwise, False.public Boolean getIncludeGlobalServiceEvents()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.