public class CreateHostedZoneRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type containing the hosted zone request information.
NOOP| Constructor and Description |
|---|
CreateHostedZoneRequest()
Default constructor for CreateHostedZoneRequest object.
|
CreateHostedZoneRequest(String name,
String callerReference)
Constructs a new CreateHostedZoneRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
CreateHostedZoneRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCallerReference()
A unique string that identifies the request and that allows failed
CreateHostedZone requests to be
retried without the risk of executing the operation twice. |
String |
getDelegationSetId()
If you want to associate a reusable delegation set with this hosted zone, the ID that Amazon Route 53 assigned to
the reusable delegation set when you created it.
|
HostedZoneConfig |
getHostedZoneConfig()
(Optional) A complex type that contains an optional comment about your hosted zone.
|
String |
getName()
The name of the domain.
|
VPC |
getVPC()
The VPC that you want your hosted zone to be associated with.
|
int |
hashCode() |
void |
setCallerReference(String callerReference)
A unique string that identifies the request and that allows failed
CreateHostedZone requests to be
retried without the risk of executing the operation twice. |
void |
setDelegationSetId(String delegationSetId)
If you want to associate a reusable delegation set with this hosted zone, the ID that Amazon Route 53 assigned to
the reusable delegation set when you created it.
|
void |
setHostedZoneConfig(HostedZoneConfig hostedZoneConfig)
(Optional) A complex type that contains an optional comment about your hosted zone.
|
void |
setName(String name)
The name of the domain.
|
void |
setVPC(VPC vPC)
The VPC that you want your hosted zone to be associated with.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateHostedZoneRequest |
withCallerReference(String callerReference)
A unique string that identifies the request and that allows failed
CreateHostedZone requests to be
retried without the risk of executing the operation twice. |
CreateHostedZoneRequest |
withDelegationSetId(String delegationSetId)
If you want to associate a reusable delegation set with this hosted zone, the ID that Amazon Route 53 assigned to
the reusable delegation set when you created it.
|
CreateHostedZoneRequest |
withHostedZoneConfig(HostedZoneConfig hostedZoneConfig)
(Optional) A complex type that contains an optional comment about your hosted zone.
|
CreateHostedZoneRequest |
withName(String name)
The name of the domain.
|
CreateHostedZoneRequest |
withVPC(VPC vPC)
The VPC that you want your hosted zone to be associated with.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic CreateHostedZoneRequest()
public CreateHostedZoneRequest(String name, String callerReference)
name - The name of the domain. For resource record types that include a domain name, specify a fully qualified
domain name, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes
that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com
(without a trailing dot) and www.example.com. (with a trailing dot) as identical.
If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If
your domain name is registered with a registrar other than Amazon Route 53, change the name servers for
your domain to the set of NameServers that CreateHostedZone returns in the
DelegationSet element.
callerReference - A unique string that identifies the request and that allows failed CreateHostedZone requests
to be retried without the risk of executing the operation twice. You must use a unique
CallerReference string every time you create a hosted zone. CallerReference can
be any unique string, for example, a date/time stamp.public void setName(String name)
The name of the domain. For resource record types that include a domain name, specify a fully qualified domain name, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.
If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If your
domain name is registered with a registrar other than Amazon Route 53, change the name servers for your domain to
the set of NameServers that CreateHostedZone returns in the DelegationSet element.
name - The name of the domain. For resource record types that include a domain name, specify a fully qualified
domain name, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes
that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com
(without a trailing dot) and www.example.com. (with a trailing dot) as identical.
If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If
your domain name is registered with a registrar other than Amazon Route 53, change the name servers for
your domain to the set of NameServers that CreateHostedZone returns in the
DelegationSet element.
public String getName()
The name of the domain. For resource record types that include a domain name, specify a fully qualified domain name, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.
If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If your
domain name is registered with a registrar other than Amazon Route 53, change the name servers for your domain to
the set of NameServers that CreateHostedZone returns in the DelegationSet element.
If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If
your domain name is registered with a registrar other than Amazon Route 53, change the name servers for
your domain to the set of NameServers that CreateHostedZone returns in the
DelegationSet element.
public CreateHostedZoneRequest withName(String name)
The name of the domain. For resource record types that include a domain name, specify a fully qualified domain name, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.
If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If your
domain name is registered with a registrar other than Amazon Route 53, change the name servers for your domain to
the set of NameServers that CreateHostedZone returns in the DelegationSet element.
name - The name of the domain. For resource record types that include a domain name, specify a fully qualified
domain name, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes
that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com
(without a trailing dot) and www.example.com. (with a trailing dot) as identical.
If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If
your domain name is registered with a registrar other than Amazon Route 53, change the name servers for
your domain to the set of NameServers that CreateHostedZone returns in the
DelegationSet element.
public void setVPC(VPC vPC)
The VPC that you want your hosted zone to be associated with. By providing this parameter, your newly created hosted cannot be resolved anywhere other than the given VPC.
vPC - The VPC that you want your hosted zone to be associated with. By providing this parameter, your newly
created hosted cannot be resolved anywhere other than the given VPC.public VPC getVPC()
The VPC that you want your hosted zone to be associated with. By providing this parameter, your newly created hosted cannot be resolved anywhere other than the given VPC.
public CreateHostedZoneRequest withVPC(VPC vPC)
The VPC that you want your hosted zone to be associated with. By providing this parameter, your newly created hosted cannot be resolved anywhere other than the given VPC.
vPC - The VPC that you want your hosted zone to be associated with. By providing this parameter, your newly
created hosted cannot be resolved anywhere other than the given VPC.public void setCallerReference(String callerReference)
A unique string that identifies the request and that allows failed CreateHostedZone requests to be
retried without the risk of executing the operation twice. You must use a unique CallerReference
string every time you create a hosted zone. CallerReference can be any unique string, for example, a
date/time stamp.
callerReference - A unique string that identifies the request and that allows failed CreateHostedZone requests
to be retried without the risk of executing the operation twice. You must use a unique
CallerReference string every time you create a hosted zone. CallerReference can
be any unique string, for example, a date/time stamp.public String getCallerReference()
A unique string that identifies the request and that allows failed CreateHostedZone requests to be
retried without the risk of executing the operation twice. You must use a unique CallerReference
string every time you create a hosted zone. CallerReference can be any unique string, for example, a
date/time stamp.
CreateHostedZone requests
to be retried without the risk of executing the operation twice. You must use a unique
CallerReference string every time you create a hosted zone. CallerReference can
be any unique string, for example, a date/time stamp.public CreateHostedZoneRequest withCallerReference(String callerReference)
A unique string that identifies the request and that allows failed CreateHostedZone requests to be
retried without the risk of executing the operation twice. You must use a unique CallerReference
string every time you create a hosted zone. CallerReference can be any unique string, for example, a
date/time stamp.
callerReference - A unique string that identifies the request and that allows failed CreateHostedZone requests
to be retried without the risk of executing the operation twice. You must use a unique
CallerReference string every time you create a hosted zone. CallerReference can
be any unique string, for example, a date/time stamp.public void setHostedZoneConfig(HostedZoneConfig hostedZoneConfig)
(Optional) A complex type that contains an optional comment about your hosted zone. If you don't want to specify
a comment, omit both the HostedZoneConfig and Comment elements.
hostedZoneConfig - (Optional) A complex type that contains an optional comment about your hosted zone. If you don't want to
specify a comment, omit both the HostedZoneConfig and Comment elements.public HostedZoneConfig getHostedZoneConfig()
(Optional) A complex type that contains an optional comment about your hosted zone. If you don't want to specify
a comment, omit both the HostedZoneConfig and Comment elements.
HostedZoneConfig and Comment elements.public CreateHostedZoneRequest withHostedZoneConfig(HostedZoneConfig hostedZoneConfig)
(Optional) A complex type that contains an optional comment about your hosted zone. If you don't want to specify
a comment, omit both the HostedZoneConfig and Comment elements.
hostedZoneConfig - (Optional) A complex type that contains an optional comment about your hosted zone. If you don't want to
specify a comment, omit both the HostedZoneConfig and Comment elements.public void setDelegationSetId(String delegationSetId)
If you want to associate a reusable delegation set with this hosted zone, the ID that Amazon Route 53 assigned to the reusable delegation set when you created it. For more information about reusable delegation sets, see CreateReusableDelegationSet.
String
None
CreatedHostedZoneRequest
delegationSetId - If you want to associate a reusable delegation set with this hosted zone, the ID that Amazon Route 53
assigned to the reusable delegation set when you created it. For more information about reusable
delegation sets, see CreateReusableDelegationSet.
String
None
CreatedHostedZoneRequest
public String getDelegationSetId()
If you want to associate a reusable delegation set with this hosted zone, the ID that Amazon Route 53 assigned to the reusable delegation set when you created it. For more information about reusable delegation sets, see CreateReusableDelegationSet.
String
None
CreatedHostedZoneRequest
String
None
CreatedHostedZoneRequest
public CreateHostedZoneRequest withDelegationSetId(String delegationSetId)
If you want to associate a reusable delegation set with this hosted zone, the ID that Amazon Route 53 assigned to the reusable delegation set when you created it. For more information about reusable delegation sets, see CreateReusableDelegationSet.
String
None
CreatedHostedZoneRequest
delegationSetId - If you want to associate a reusable delegation set with this hosted zone, the ID that Amazon Route 53
assigned to the reusable delegation set when you created it. For more information about reusable
delegation sets, see CreateReusableDelegationSet.
String
None
CreatedHostedZoneRequest
public String toString()
toString in class ObjectObject.toString()public CreateHostedZoneRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.