public class UpdateDistributionRequest extends AmazonWebServiceRequest implements Serializable
UpdateDistribution operation.
 Update a distribution.
NOOP| Constructor and Description | 
|---|
| UpdateDistributionRequest()Default constructor for a new UpdateDistributionRequest object. | 
| UpdateDistributionRequest(DistributionConfig distributionConfig,
                         String id,
                         String ifMatch)Constructs a new UpdateDistributionRequest object. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| DistributionConfig | getDistributionConfig()The distribution's configuration information. | 
| String | getId()The distribution's id. | 
| String | getIfMatch()The value of the ETag header you received when retrieving the
 distribution's configuration. | 
| int | hashCode() | 
| void | setDistributionConfig(DistributionConfig distributionConfig)The distribution's configuration information. | 
| void | setId(String id)The distribution's id. | 
| void | setIfMatch(String ifMatch)The value of the ETag header you received when retrieving the
 distribution's configuration. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| UpdateDistributionRequest | withDistributionConfig(DistributionConfig distributionConfig)The distribution's configuration information. | 
| UpdateDistributionRequest | withId(String id)The distribution's id. | 
| UpdateDistributionRequest | withIfMatch(String ifMatch)The value of the ETag header you received when retrieving the
 distribution's configuration. | 
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic UpdateDistributionRequest()
public UpdateDistributionRequest(DistributionConfig distributionConfig, String id, String ifMatch)
distributionConfig - The distribution's configuration
 information.id - The distribution's id.ifMatch - The value of the ETag header you received when
 retrieving the distribution's configuration. For example:
 E2QWRUHAPOMQZL.public DistributionConfig getDistributionConfig()
public void setDistributionConfig(DistributionConfig distributionConfig)
distributionConfig - The distribution's configuration information.public UpdateDistributionRequest withDistributionConfig(DistributionConfig distributionConfig)
Returns a reference to this object so that method calls can be chained together.
distributionConfig - The distribution's configuration information.public String getId()
public void setId(String id)
id - The distribution's id.public UpdateDistributionRequest withId(String id)
Returns a reference to this object so that method calls can be chained together.
id - The distribution's id.public String getIfMatch()
public void setIfMatch(String ifMatch)
ifMatch - The value of the ETag header you received when retrieving the
         distribution's configuration. For example: E2QWRUHAPOMQZL.public UpdateDistributionRequest withIfMatch(String ifMatch)
Returns a reference to this object so that method calls can be chained together.
ifMatch - The value of the ETag header you received when retrieving the
         distribution's configuration. For example: E2QWRUHAPOMQZL.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.