@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateAliasRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateAliasRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAlias()
The alias (also known as a CNAME) to add to the target distribution.
|
String |
getTargetDistributionId()
The ID of the distribution that you're associating the alias with.
|
int |
hashCode() |
void |
setAlias(String alias)
The alias (also known as a CNAME) to add to the target distribution.
|
void |
setTargetDistributionId(String targetDistributionId)
The ID of the distribution that you're associating the alias with.
|
String |
toString()
Returns a string representation of this object.
|
AssociateAliasRequest |
withAlias(String alias)
The alias (also known as a CNAME) to add to the target distribution.
|
AssociateAliasRequest |
withTargetDistributionId(String targetDistributionId)
The ID of the distribution that you're associating the alias with.
|
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 void setTargetDistributionId(String targetDistributionId)
The ID of the distribution that you're associating the alias with.
targetDistributionId
- The ID of the distribution that you're associating the alias with.public String getTargetDistributionId()
The ID of the distribution that you're associating the alias with.
public AssociateAliasRequest withTargetDistributionId(String targetDistributionId)
The ID of the distribution that you're associating the alias with.
targetDistributionId
- The ID of the distribution that you're associating the alias with.public void setAlias(String alias)
The alias (also known as a CNAME) to add to the target distribution.
alias
- The alias (also known as a CNAME) to add to the target distribution.public String getAlias()
The alias (also known as a CNAME) to add to the target distribution.
public AssociateAliasRequest withAlias(String alias)
The alias (also known as a CNAME) to add to the target distribution.
alias
- The alias (also known as a CNAME) to add to the target distribution.public String toString()
toString
in class Object
Object.toString()
public AssociateAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()