Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront.model
Class GetDistributionResult

java.lang.Object
  extended by com.amazonaws.services.cloudfront.model.GetDistributionResult
All Implemented Interfaces:
java.io.Serializable

public class GetDistributionResult
extends java.lang.Object
implements java.io.Serializable

The returned result of the corresponding request.

See Also:
Serialized Form

Constructor Summary
GetDistributionResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Distribution getDistribution()
          The distribution's information.
 java.lang.String getETag()
          The current version of the distribution's information.
 int hashCode()
           
 void setDistribution(Distribution distribution)
          The distribution's information.
 void setETag(java.lang.String eTag)
          The current version of the distribution's information.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetDistributionResult withDistribution(Distribution distribution)
          The distribution's information.
 GetDistributionResult withETag(java.lang.String eTag)
          The current version of the distribution's information.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetDistributionResult

public GetDistributionResult()
Method Detail

getDistribution

public Distribution getDistribution()
The distribution's information.

Returns:
The distribution's information.

setDistribution

public void setDistribution(Distribution distribution)
The distribution's information.

Parameters:
distribution - The distribution's information.

withDistribution

public GetDistributionResult withDistribution(Distribution distribution)
The distribution's information.

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

Parameters:
distribution - The distribution's information.
Returns:
A reference to this updated object so that method calls can be chained together.

getETag

public java.lang.String getETag()
The current version of the distribution's information. For example: E2QWRUHAPOMQZL.

Returns:
The current version of the distribution's information. For example: E2QWRUHAPOMQZL.

setETag

public void setETag(java.lang.String eTag)
The current version of the distribution's information. For example: E2QWRUHAPOMQZL.

Parameters:
eTag - The current version of the distribution's information. For example: E2QWRUHAPOMQZL.

withETag

public GetDistributionResult withETag(java.lang.String eTag)
The current version of the distribution's information. For example: E2QWRUHAPOMQZL.

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

Parameters:
eTag - The current version of the distribution's information. For example: E2QWRUHAPOMQZL.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.