public class CreateHostedZoneRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type that contains information about the request to create a hosted zone.
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()
Creates a shallow clone of this request.
|
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()
The delegation set id of the reusable delgation set whose NS records you
want to assign to the new hosted zone.
|
HostedZoneConfig |
getHostedZoneConfig()
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)
The delegation set id of the reusable delgation set whose NS records you
want to assign to the new hosted zone.
|
void |
setHostedZoneConfig(HostedZoneConfig hostedZoneConfig)
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)
The delegation set id of the reusable delgation set whose NS records you
want to assign to the new hosted zone.
|
CreateHostedZoneRequest |
withHostedZoneConfig(HostedZoneConfig hostedZoneConfig)
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateHostedZoneRequest()
public CreateHostedZoneRequest(String name, String callerReference)
name
- The name of the domain. This must be a fully-specified domain, 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.
This is the name you have registered with your DNS registrar. You
should ask your registrar to change the authoritative name servers
for your domain to the set of NameServers
elements
returned in DelegationSet
.
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; you
might choose to use a string that identifies your project, such as
DNSMigration_01
.
Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.
public void setName(String name)
The name of the domain. This must be a fully-specified domain, 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.
This is the name you have registered with your DNS registrar. You should
ask your registrar to change the authoritative name servers for your
domain to the set of NameServers
elements returned in
DelegationSet
.
name
- The name of the domain. This must be a fully-specified domain, 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.
This is the name you have registered with your DNS registrar. You
should ask your registrar to change the authoritative name servers
for your domain to the set of NameServers
elements
returned in DelegationSet
.
public String getName()
The name of the domain. This must be a fully-specified domain, 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.
This is the name you have registered with your DNS registrar. You should
ask your registrar to change the authoritative name servers for your
domain to the set of NameServers
elements returned in
DelegationSet
.
This is the name you have registered with your DNS registrar. You
should ask your registrar to change the authoritative name
servers for your domain to the set of NameServers
elements returned in DelegationSet
.
public CreateHostedZoneRequest withName(String name)
The name of the domain. This must be a fully-specified domain, 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.
This is the name you have registered with your DNS registrar. You should
ask your registrar to change the authoritative name servers for your
domain to the set of NameServers
elements returned in
DelegationSet
.
name
- The name of the domain. This must be a fully-specified domain, 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.
This is the name you have registered with your DNS registrar. You
should ask your registrar to change the authoritative name servers
for your domain to the set of NameServers
elements
returned in DelegationSet
.
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; you might choose
to use a string that identifies your project, such as
DNSMigration_01
.
Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.
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; you
might choose to use a string that identifies your project, such as
DNSMigration_01
.
Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.
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; you might choose
to use a string that identifies your project, such as
DNSMigration_01
.
Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.
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; you might choose to use a string that identifies your
project, such as DNSMigration_01
.
Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.
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; you might choose
to use a string that identifies your project, such as
DNSMigration_01
.
Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.
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; you
might choose to use a string that identifies your project, such as
DNSMigration_01
.
Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.
public void setHostedZoneConfig(HostedZoneConfig hostedZoneConfig)
A complex type that contains an optional comment about your hosted zone.
hostedZoneConfig
- A complex type that contains an optional comment about your hosted
zone.public HostedZoneConfig getHostedZoneConfig()
A complex type that contains an optional comment about your hosted zone.
public CreateHostedZoneRequest withHostedZoneConfig(HostedZoneConfig hostedZoneConfig)
A complex type that contains an optional comment about your hosted zone.
hostedZoneConfig
- A complex type that contains an optional comment about your hosted
zone.public void setDelegationSetId(String delegationSetId)
The delegation set id of the reusable delgation set whose NS records you want to assign to the new hosted zone.
delegationSetId
- The delegation set id of the reusable delgation set whose NS
records you want to assign to the new hosted zone.public String getDelegationSetId()
The delegation set id of the reusable delgation set whose NS records you want to assign to the new hosted zone.
public CreateHostedZoneRequest withDelegationSetId(String delegationSetId)
The delegation set id of the reusable delgation set whose NS records you want to assign to the new hosted zone.
delegationSetId
- The delegation set id of the reusable delgation set whose NS
records you want to assign to the new hosted zone.public String toString()
toString
in class Object
Object.toString()
public CreateHostedZoneRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.