@Generated(value="software.amazon.awssdk:codegen") public final class CopyDistributionRequest extends CloudFrontRequest implements ToCopyableBuilder<CopyDistributionRequest.Builder,CopyDistributionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CopyDistributionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CopyDistributionRequest.Builder |
builder() |
String |
callerReference()
A value that uniquely identifies a request to create a resource.
|
Boolean |
enabled()
A Boolean flag to specify the state of the staging distribution when it's created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ifMatch()
The version identifier of the primary distribution whose configuration you are copying.
|
String |
primaryDistributionId()
The identifier of the primary distribution whose configuration you are copying.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CopyDistributionRequest.Builder> |
serializableBuilderClass() |
Boolean |
staging()
The type of distribution that your primary distribution will be copied to.
|
CopyDistributionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String primaryDistributionId()
The identifier of the primary distribution whose configuration you are copying. To get a distribution ID, use
ListDistributions.
ListDistributions.public final 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.
True, indicating that you are copying to a staging distribution.public final 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.
ETag value returned in the response to GetDistribution and
GetDistributionConfig.public final 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.
public final Boolean enabled()
A Boolean flag to specify the state of the staging distribution when it's created. When you set this value to
True, the staging distribution is enabled. When you set this value to False, the
staging distribution is disabled.
If you omit this field, the default value is True.
True, the staging distribution is enabled. When you set this value to
False, the staging distribution is disabled.
If you omit this field, the default value is True.
public CopyDistributionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CopyDistributionRequest.Builder,CopyDistributionRequest>toBuilder in class CloudFrontRequestpublic static CopyDistributionRequest.Builder builder()
public static Class<? extends CopyDistributionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.