com.amazonaws.services.cloudtrail.model
Class CreateTrailResult

java.lang.Object
  extended by com.amazonaws.services.cloudtrail.model.CreateTrailResult
All Implemented Interfaces:
Serializable

public class CreateTrailResult
extends Object
implements Serializable

A JSON-formatted Trail object that represents the settings for the requested trail.

See Also:
Serialized Form

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

CreateTrailResult

public CreateTrailResult()
Method Detail

getName

public String getName()
Returns the value of the Name property for this object.

Returns:
The value of the Name property for this object.

setName

public void setName(String name)
Sets the value of the Name property for this object.

Parameters:
name - The new value for the Name property for this object.

withName

public CreateTrailResult withName(String name)
Sets the value of the Name property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
name - The new value for the Name property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getS3BucketName

public String getS3BucketName()
Returns the value of the S3BucketName property for this object.

Returns:
The value of the S3BucketName property for this object.

setS3BucketName

public void setS3BucketName(String s3BucketName)
Sets the value of the S3BucketName property for this object.

Parameters:
s3BucketName - The new value for the S3BucketName property for this object.

withS3BucketName

public CreateTrailResult withS3BucketName(String s3BucketName)
Sets the value of the S3BucketName property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
s3BucketName - The new value for the S3BucketName property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getS3KeyPrefix

public String getS3KeyPrefix()
Returns the value of the S3KeyPrefix property for this object.

Returns:
The value of the S3KeyPrefix property for this object.

setS3KeyPrefix

public void setS3KeyPrefix(String s3KeyPrefix)
Sets the value of the S3KeyPrefix property for this object.

Parameters:
s3KeyPrefix - The new value for the S3KeyPrefix property for this object.

withS3KeyPrefix

public CreateTrailResult withS3KeyPrefix(String s3KeyPrefix)
Sets the value of the S3KeyPrefix property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
s3KeyPrefix - The new value for the S3KeyPrefix property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getSnsTopicName

public String getSnsTopicName()
Returns the value of the SnsTopicName property for this object.

Returns:
The value of the SnsTopicName property for this object.

setSnsTopicName

public void setSnsTopicName(String snsTopicName)
Sets the value of the SnsTopicName property for this object.

Parameters:
snsTopicName - The new value for the SnsTopicName property for this object.

withSnsTopicName

public CreateTrailResult withSnsTopicName(String snsTopicName)
Sets the value of the SnsTopicName property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
snsTopicName - The new value for the SnsTopicName property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

isIncludeGlobalServiceEvents

public Boolean isIncludeGlobalServiceEvents()
Returns the value of the IncludeGlobalServiceEvents property for this object.

Returns:
The value of the IncludeGlobalServiceEvents property for this object.

setIncludeGlobalServiceEvents

public void setIncludeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Sets the value of the IncludeGlobalServiceEvents property for this object.

Parameters:
includeGlobalServiceEvents - The new value for the IncludeGlobalServiceEvents property for this object.

withIncludeGlobalServiceEvents

public CreateTrailResult withIncludeGlobalServiceEvents(Boolean includeGlobalServiceEvents)
Sets the value of the IncludeGlobalServiceEvents property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
includeGlobalServiceEvents - The new value for the IncludeGlobalServiceEvents property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getIncludeGlobalServiceEvents

public Boolean getIncludeGlobalServiceEvents()
Returns the value of the IncludeGlobalServiceEvents property for this object.

Returns:
The value of the IncludeGlobalServiceEvents property for this object.

getTrail

public Trail getTrail()
Data type that represents the settings for a trail.

Returns:
Data type that represents the settings for a trail.

setTrail

public void setTrail(Trail trail)
Data type that represents the settings for a trail.

Parameters:
trail - Data type that represents the settings for a trail.

withTrail

public CreateTrailResult withTrail(Trail trail)
Data type that represents the settings for a trail.

Returns a reference to this object so that method calls can be chained together.

Parameters:
trail - Data type that represents the settings for a trail.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.