com.amazonaws.services.cloudtrail.model
Class UpdateTrailResult

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

public class UpdateTrailResult
extends Object
implements Serializable

Returns the objects or data listed below if successful. Otherwise, returns an error.

See Also:
Serialized Form

Constructor Summary
UpdateTrailResult()
           
 
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()
          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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateTrailResult

public UpdateTrailResult()
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 UpdateTrailResult 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 UpdateTrailResult 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 UpdateTrailResult 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 UpdateTrailResult 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 UpdateTrailResult 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()
Represents the CloudTrail settings that were updated by calling UpdateTrail.

Returns:
Represents the CloudTrail settings that were updated by calling UpdateTrail.

setTrail

public void setTrail(Trail trail)
Represents the CloudTrail settings that were updated by calling UpdateTrail.

Parameters:
trail - Represents the CloudTrail settings that were updated by calling UpdateTrail.

withTrail

public UpdateTrailResult withTrail(Trail trail)
Represents the CloudTrail settings that were updated by calling UpdateTrail.

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

Parameters:
trail - Represents the CloudTrail settings that were updated by calling UpdateTrail.
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.