|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudtrail.model.CreateTrailResult
public class CreateTrailResult
A JSON-formatted Trail object that represents the settings for the requested trail.
Constructor Summary | |
---|---|
CreateTrailResult()
|
Method Summary | |
---|---|
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()
Data type that represents the settings for a trail. |
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)
Data type that represents the settings for a trail. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateTrailResult |
withIncludeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Sets the value of the IncludeGlobalServiceEvents property for this object. |
CreateTrailResult |
withName(String name)
Sets the value of the Name property for this object. |
CreateTrailResult |
withS3BucketName(String s3BucketName)
Sets the value of the S3BucketName property for this object. |
CreateTrailResult |
withS3KeyPrefix(String s3KeyPrefix)
Sets the value of the S3KeyPrefix property for this object. |
CreateTrailResult |
withSnsTopicName(String snsTopicName)
Sets the value of the SnsTopicName property for this object. |
CreateTrailResult |
withTrail(Trail trail)
Data type that represents the settings for a trail. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateTrailResult()
Method Detail |
---|
public String getName()
public void setName(String name)
name
- The new value for the Name property for this object.public CreateTrailResult 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 CreateTrailResult 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 CreateTrailResult 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 CreateTrailResult 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 CreateTrailResult 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
- Data type that represents the settings for a trail.public CreateTrailResult withTrail(Trail trail)
Returns a reference to this object so that method calls can be chained together.
trail
- Data type that represents the settings for a trail.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |