@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDistributionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The returned result of the corresponding request.
| Constructor and Description |
|---|
GetDistributionResult () |
| Modifier and Type | Method and Description |
|---|---|
GetDistributionResult |
clone () |
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.
|
GetDistributionResult |
withDistribution (Distribution distribution)
The distribution's information.
|
GetDistributionResult |
withETag (String eTag)
The current version of the distribution's information.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata public GetDistributionResult()
public void setDistribution(Distribution distribution)
The distribution's information.
distribution - The distribution's information.public Distribution getDistribution()
The distribution's information.
public GetDistributionResult withDistribution(Distribution distribution)
The distribution's information.
distribution - The distribution's information.public void setETag(String eTag)
The current version of the distribution's information. For example: E2QWRUHAPOMQZL.
eTag - The current version of the distribution's information. For example: E2QWRUHAPOMQZL.public String getETag()
The current version of the distribution's information. For example: E2QWRUHAPOMQZL.
E2QWRUHAPOMQZL.public GetDistributionResult withETag(String eTag)
The current version of the distribution's information. For example: E2QWRUHAPOMQZL.
eTag - The current version of the distribution's information. For example: E2QWRUHAPOMQZL.public String toString()
toString in class Object Object.toString() public GetDistributionResult clone()