@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDistributionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request to create a new distribution.
NOOP
Constructor and Description |
---|
CreateDistributionRequest()
Default constructor for CreateDistributionRequest object.
|
CreateDistributionRequest(DistributionConfig distributionConfig)
Constructs a new CreateDistributionRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateDistributionRequest |
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.
|
int |
hashCode() |
void |
setDistributionConfig(DistributionConfig distributionConfig)
The distribution's configuration information.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateDistributionRequest |
withDistributionConfig(DistributionConfig distributionConfig)
The distribution's configuration information.
|
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 CreateDistributionRequest()
public CreateDistributionRequest(DistributionConfig distributionConfig)
distributionConfig
- The distribution's configuration information.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 CreateDistributionRequest withDistributionConfig(DistributionConfig distributionConfig)
The distribution's configuration information.
distributionConfig
- The distribution's configuration information.public String toString()
toString
in class Object
Object.toString()
public CreateDistributionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.