@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopyDistributionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CopyDistributionRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CopyDistributionRequest | clone() | 
| boolean | equals(Object obj) | 
| String | getCallerReference()
 A value that uniquely identifies a request to create a resource. | 
| String | getIfMatch()
 The version identifier of the primary distribution whose configuration you are copying. | 
| String | getPrimaryDistributionId()
 The identifier of the primary distribution whose configuration you are copying. | 
| Boolean | getStaging()
 The type of distribution that your primary distribution will be copied to. | 
| int | hashCode() | 
| Boolean | isStaging()
 The type of distribution that your primary distribution will be copied to. | 
| void | setCallerReference(String callerReference)
 A value that uniquely identifies a request to create a resource. | 
| void | setIfMatch(String ifMatch)
 The version identifier of the primary distribution whose configuration you are copying. | 
| void | setPrimaryDistributionId(String primaryDistributionId)
 The identifier of the primary distribution whose configuration you are copying. | 
| void | setStaging(Boolean staging)
 The type of distribution that your primary distribution will be copied to. | 
| String | toString()Returns a string representation of this object. | 
| CopyDistributionRequest | withCallerReference(String callerReference)
 A value that uniquely identifies a request to create a resource. | 
| CopyDistributionRequest | withIfMatch(String ifMatch)
 The version identifier of the primary distribution whose configuration you are copying. | 
| CopyDistributionRequest | withPrimaryDistributionId(String primaryDistributionId)
 The identifier of the primary distribution whose configuration you are copying. | 
| CopyDistributionRequest | withStaging(Boolean staging)
 The type of distribution that your primary distribution will be copied to. | 
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setPrimaryDistributionId(String primaryDistributionId)
 The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use
 ListDistributions.
 
primaryDistributionId - The identifier of the primary distribution whose configuration you are copying. To get a distribution ID,
        use ListDistributions.public String getPrimaryDistributionId()
 The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use
 ListDistributions.
 
ListDistributions.public CopyDistributionRequest withPrimaryDistributionId(String primaryDistributionId)
 The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use
 ListDistributions.
 
primaryDistributionId - The identifier of the primary distribution whose configuration you are copying. To get a distribution ID,
        use ListDistributions.public void setStaging(Boolean staging)
 The type of distribution that your primary distribution will be copied to. The only valid value is
 True, indicating that you are copying to a staging distribution.
 
staging - The type of distribution that your primary distribution will be copied to. The only valid value is
        True, indicating that you are copying to a staging distribution.public Boolean getStaging()
 The type of distribution that your primary distribution will be copied to. The only valid value is
 True, indicating that you are copying to a staging distribution.
 
True, indicating that you are copying to a staging distribution.public CopyDistributionRequest withStaging(Boolean staging)
 The type of distribution that your primary distribution will be copied to. The only valid value is
 True, indicating that you are copying to a staging distribution.
 
staging - The type of distribution that your primary distribution will be copied to. The only valid value is
        True, indicating that you are copying to a staging distribution.public Boolean isStaging()
 The type of distribution that your primary distribution will be copied to. The only valid value is
 True, indicating that you are copying to a staging distribution.
 
True, indicating that you are copying to a staging distribution.public void setIfMatch(String ifMatch)
 The version identifier of the primary distribution whose configuration you are copying. This is the
 ETag value returned in the response to GetDistribution and
 GetDistributionConfig.
 
ifMatch - The version identifier of the primary distribution whose configuration you are copying. This is the
        ETag value returned in the response to GetDistribution and
        GetDistributionConfig.public String getIfMatch()
 The version identifier of the primary distribution whose configuration you are copying. This is the
 ETag value returned in the response to GetDistribution and
 GetDistributionConfig.
 
ETag value returned in the response to GetDistribution and
         GetDistributionConfig.public CopyDistributionRequest withIfMatch(String ifMatch)
 The version identifier of the primary distribution whose configuration you are copying. This is the
 ETag value returned in the response to GetDistribution and
 GetDistributionConfig.
 
ifMatch - The version identifier of the primary distribution whose configuration you are copying. This is the
        ETag value returned in the response to GetDistribution and
        GetDistributionConfig.public void setCallerReference(String callerReference)
A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from creating a duplicate resource if you accidentally resubmit an identical request.
callerReference - A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from
        creating a duplicate resource if you accidentally resubmit an identical request.public String getCallerReference()
A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from creating a duplicate resource if you accidentally resubmit an identical request.
public CopyDistributionRequest withCallerReference(String callerReference)
A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from creating a duplicate resource if you accidentally resubmit an identical request.
callerReference - A value that uniquely identifies a request to create a resource. This helps to prevent CloudFront from
        creating a duplicate resource if you accidentally resubmit an identical request.public String toString()
toString in class ObjectObject.toString()public CopyDistributionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.