public class UpdateTrailResult extends Object implements Serializable
Returns the objects or data listed below if successful. Otherwise, returns an error.
Constructor and Description |
---|
UpdateTrailResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getIncludeGlobalServiceEvents()
Returns the value of the IncludeGlobalServiceEvents property for this
object.
|
String |
getName()
Returns the value of the Name property for this object.
|
String |
getS3BucketName()
Returns the value of the S3BucketName property for this object.
|
String |
getS3KeyPrefix()
Returns the value of the S3KeyPrefix property for this object.
|
String |
getSnsTopicName()
Returns the value of the SnsTopicName property for this object.
|
Trail |
getTrail()
Represents the CloudTrail settings that were updated by calling
UpdateTrail.
|
int |
hashCode() |
Boolean |
isIncludeGlobalServiceEvents()
Returns the value of the IncludeGlobalServiceEvents property for this
object.
|
void |
setIncludeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Sets the value of the IncludeGlobalServiceEvents property for this
object.
|
void |
setName(String name)
Sets the value of the Name property for this object.
|
void |
setS3BucketName(String s3BucketName)
Sets the value of the S3BucketName property for this object.
|
void |
setS3KeyPrefix(String s3KeyPrefix)
Sets the value of the S3KeyPrefix property for this object.
|
void |
setSnsTopicName(String snsTopicName)
Sets the value of the SnsTopicName property for this object.
|
void |
setTrail(Trail trail)
Represents the CloudTrail settings that were updated by calling
UpdateTrail.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateTrailResult |
withIncludeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Sets the value of the IncludeGlobalServiceEvents property for this
object.
|
UpdateTrailResult |
withName(String name)
Sets the value of the Name property for this object.
|
UpdateTrailResult |
withS3BucketName(String s3BucketName)
Sets the value of the S3BucketName property for this object.
|
UpdateTrailResult |
withS3KeyPrefix(String s3KeyPrefix)
Sets the value of the S3KeyPrefix property for this object.
|
UpdateTrailResult |
withSnsTopicName(String snsTopicName)
Sets the value of the SnsTopicName property for this object.
|
UpdateTrailResult |
withTrail(Trail trail)
Represents the CloudTrail settings that were updated by calling
UpdateTrail.
|
public String getName()
public void setName(String name)
name
- The new value for the Name property for this object.public UpdateTrailResult withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The new value for the Name property for this object.public String getS3BucketName()
public void setS3BucketName(String s3BucketName)
s3BucketName
- The new value for the S3BucketName property for this object.public UpdateTrailResult withS3BucketName(String s3BucketName)
Returns a reference to this object so that method calls can be chained together.
s3BucketName
- The new value for the S3BucketName property for this object.public String getS3KeyPrefix()
public void setS3KeyPrefix(String s3KeyPrefix)
s3KeyPrefix
- The new value for the S3KeyPrefix property for this object.public UpdateTrailResult withS3KeyPrefix(String s3KeyPrefix)
Returns a reference to this object so that method calls can be chained together.
s3KeyPrefix
- The new value for the S3KeyPrefix property for this object.public String getSnsTopicName()
public void setSnsTopicName(String snsTopicName)
snsTopicName
- The new value for the SnsTopicName property for this object.public UpdateTrailResult withSnsTopicName(String snsTopicName)
Returns a reference to this object so that method calls can be chained together.
snsTopicName
- The new value for the SnsTopicName property for this object.public Boolean isIncludeGlobalServiceEvents()
public void setIncludeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
includeGlobalServiceEvents
- The new value for the IncludeGlobalServiceEvents property for this
object.public UpdateTrailResult withIncludeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Returns a reference to this object so that method calls can be chained together.
includeGlobalServiceEvents
- The new value for the IncludeGlobalServiceEvents property for this
object.public Boolean getIncludeGlobalServiceEvents()
public Trail getTrail()
public void setTrail(Trail trail)
trail
- Represents the CloudTrail settings that were updated by calling
UpdateTrail.public UpdateTrailResult withTrail(Trail trail)
Returns a reference to this object so that method calls can be chained together.
trail
- Represents the CloudTrail settings that were updated by calling
UpdateTrail.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.