@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDistributionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The returned result of the corresponding request.
Constructor and Description |
---|
UpdateDistributionResult() |
Modifier and Type | Method and Description |
---|---|
UpdateDistributionResult |
clone() |
boolean |
equals(Object obj) |
Distribution |
getDistribution()
The distribution's information.
|
String |
getETag()
The current version of the configuration.
|
int |
hashCode() |
void |
setDistribution(Distribution distribution)
The distribution's information.
|
void |
setETag(String eTag)
The current version of the configuration.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDistributionResult |
withDistribution(Distribution distribution)
The distribution's information.
|
UpdateDistributionResult |
withETag(String eTag)
The current version of the configuration.
|
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 UpdateDistributionResult withDistribution(Distribution distribution)
The distribution's information.
distribution
- The distribution's information.public void setETag(String eTag)
The current version of the configuration. For example: E2QWRUHAPOMQZL
.
eTag
- The current version of the configuration. For example: E2QWRUHAPOMQZL
.public String getETag()
The current version of the configuration. For example: E2QWRUHAPOMQZL
.
E2QWRUHAPOMQZL
.public UpdateDistributionResult withETag(String eTag)
The current version of the configuration. For example: E2QWRUHAPOMQZL
.
eTag
- The current version of the configuration. For example: E2QWRUHAPOMQZL
.public String toString()
toString
in class Object
Object.toString()
public UpdateDistributionResult clone()