public class CreateHostedZoneRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
A complex type that contains information about the request to create a hosted zone.
Modifier and Type | Field and Description |
---|---|
private java.lang.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. |
private java.lang.String |
delegationSetId
The delegation set id of the reusable delgation set whose NS records you
want to assign to the new hosted zone.
|
private HostedZoneConfig |
hostedZoneConfig
A complex type that contains an optional comment about your hosted zone.
|
private java.lang.String |
name
The name of the domain.
|
private VPC |
vPC
The VPC that you want your hosted zone to be associated with.
|
NOOP
Constructor and Description |
---|
CreateHostedZoneRequest()
Default constructor for CreateHostedZoneRequest object.
|
CreateHostedZoneRequest(java.lang.String name,
java.lang.String callerReference)
Constructs a new CreateHostedZoneRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateHostedZoneRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.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. |
java.lang.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.
|
java.lang.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(java.lang.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(java.lang.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(java.lang.String name)
The name of the domain.
|
void |
setVPC(VPC vPC)
The VPC that you want your hosted zone to be associated with.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateHostedZoneRequest |
withCallerReference(java.lang.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(java.lang.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(java.lang.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, withSdkRequestTimeout
private java.lang.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
.
private 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.
private java.lang.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.
private HostedZoneConfig hostedZoneConfig
A complex type that contains an optional comment about your hosted zone.
private java.lang.String delegationSetId
The delegation set id of the reusable delgation set whose NS records you want to assign to the new hosted zone.
public CreateHostedZoneRequest()
public CreateHostedZoneRequest(java.lang.String name, java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateHostedZoneRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()