@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; 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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.