@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDistributionConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDistributionConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDistributionConfigurationRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateDistributionConfigurationRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateDistributionConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
The idempotency token of the distribution configuration.
|
String |
getDescription()
The description of the distribution configuration.
|
List<Distribution> |
getDistributions()
The distributions of the distribution configuration.
|
String |
getName()
The name of the distribution configuration.
|
Map<String,String> |
getTags()
The tags of the distribution configuration.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
The idempotency token of the distribution configuration.
|
void |
setDescription(String description)
The description of the distribution configuration.
|
void |
setDistributions(Collection<Distribution> distributions)
The distributions of the distribution configuration.
|
void |
setName(String name)
The name of the distribution configuration.
|
void |
setTags(Map<String,String> tags)
The tags of the distribution configuration.
|
String |
toString()
Returns a string representation of this object.
|
CreateDistributionConfigurationRequest |
withClientToken(String clientToken)
The idempotency token of the distribution configuration.
|
CreateDistributionConfigurationRequest |
withDescription(String description)
The description of the distribution configuration.
|
CreateDistributionConfigurationRequest |
withDistributions(Collection<Distribution> distributions)
The distributions of the distribution configuration.
|
CreateDistributionConfigurationRequest |
withDistributions(Distribution... distributions)
The distributions of the distribution configuration.
|
CreateDistributionConfigurationRequest |
withName(String name)
The name of the distribution configuration.
|
CreateDistributionConfigurationRequest |
withTags(Map<String,String> tags)
The tags of the distribution 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 CreateDistributionConfigurationRequest()
public void setName(String name)
The name of the distribution configuration.
name
- The name of the distribution configuration.public String getName()
The name of the distribution configuration.
public CreateDistributionConfigurationRequest withName(String name)
The name of the distribution configuration.
name
- The name of the distribution configuration.public void setDescription(String description)
The description of the distribution configuration.
description
- The description of the distribution configuration.public String getDescription()
The description of the distribution configuration.
public CreateDistributionConfigurationRequest withDescription(String description)
The description of the distribution configuration.
description
- The description of the distribution configuration.public List<Distribution> getDistributions()
The distributions of the distribution configuration.
public void setDistributions(Collection<Distribution> distributions)
The distributions of the distribution configuration.
distributions
- The distributions of the distribution configuration.public CreateDistributionConfigurationRequest withDistributions(Distribution... distributions)
The distributions of the distribution configuration.
NOTE: This method appends the values to the existing list (if any). Use
setDistributions(java.util.Collection)
or withDistributions(java.util.Collection)
if you want
to override the existing values.
distributions
- The distributions of the distribution configuration.public CreateDistributionConfigurationRequest withDistributions(Collection<Distribution> distributions)
The distributions of the distribution configuration.
distributions
- The distributions of the distribution configuration.public Map<String,String> getTags()
The tags of the distribution configuration.
public void setTags(Map<String,String> tags)
The tags of the distribution configuration.
tags
- The tags of the distribution configuration.public CreateDistributionConfigurationRequest withTags(Map<String,String> tags)
The tags of the distribution configuration.
tags
- The tags of the distribution configuration.public CreateDistributionConfigurationRequest addTagsEntry(String key, String value)
public CreateDistributionConfigurationRequest clearTagsEntries()
public void setClientToken(String clientToken)
The idempotency token of the distribution configuration.
clientToken
- The idempotency token of the distribution configuration.public String getClientToken()
The idempotency token of the distribution configuration.
public CreateDistributionConfigurationRequest withClientToken(String clientToken)
The idempotency token of the distribution configuration.
clientToken
- The idempotency token of the distribution configuration.public String toString()
toString
in class Object
Object.toString()
public CreateDistributionConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()