Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront_2012_03_15.model
Class GetDistributionResult

java.lang.Object
  extended by com.amazonaws.services.cloudfront_2012_03_15.model.GetDistributionResult

public class GetDistributionResult
extends Object

The returned result of the corresponding request.


Constructor Summary
GetDistributionResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 Distribution getDistribution()
          The distribution's information.
 String getETag()
          The current version of the distribution's information.
 int hashCode()
           
 void setDistribution(Distribution distribution)
          The distribution's information.
 void setETag(String eTag)
          The current version of the distribution's information.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetDistributionResult withDistribution(Distribution distribution)
          The distribution's information.
 GetDistributionResult withETag(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 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(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(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 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 © 2010 Amazon Web Services, Inc. All Rights Reserved.