@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDistributionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request to update a distribution.
NOOP | Constructor and Description |
|---|
UpdateDistributionRequest ()
Default constructor for UpdateDistributionRequest object.
|
UpdateDistributionRequest (DistributionConfig distributionConfig,
String id,
String ifMatch)
Constructs a new UpdateDistributionRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
UpdateDistributionRequest |
clone ()
Creates a shallow clone of this object for all fields except the handler context.
|
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 that 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 that you received when retrieving the distribution's configuration. |
String |
toString ()
Returns a string representation of this object.
|
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 that you received when retrieving the distribution's configuration. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout public 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 that you received when retrieving the distribution's
configuration. For example: E2QWRUHAPOMQZL.public void setDistributionConfig(DistributionConfig distributionConfig)
The distribution's configuration information.
distributionConfig - The distribution's configuration information.public DistributionConfig getDistributionConfig()
The distribution's configuration information.
public UpdateDistributionRequest withDistributionConfig(DistributionConfig distributionConfig)
The distribution's configuration information.
distributionConfig - The distribution's configuration information.public void setId(String id)
The distribution's id.
id - The distribution's id.public String getId()
The distribution's id.
public UpdateDistributionRequest withId(String id)
The distribution's id.
id - The distribution's id.public void setIfMatch(String ifMatch)
The value of the ETag header that you received when retrieving the distribution's configuration. For
example: E2QWRUHAPOMQZL.
ifMatch - The value of the ETag header that you received when retrieving the distribution's
configuration. For example: E2QWRUHAPOMQZL.public String getIfMatch()
The value of the ETag header that you received when retrieving the distribution's configuration. For
example: E2QWRUHAPOMQZL.
ETag header that you received when retrieving the distribution's
configuration. For example: E2QWRUHAPOMQZL.public UpdateDistributionRequest withIfMatch(String ifMatch)
The value of the ETag header that you received when retrieving the distribution's configuration. For
example: E2QWRUHAPOMQZL.
ifMatch - The value of the ETag header that you received when retrieving the distribution's
configuration. For example: E2QWRUHAPOMQZL.public String toString()
toString in class Object Object.toString() public UpdateDistributionRequest clone()
AmazonWebServiceRequest clone in class AmazonWebServiceRequest Object.clone()