Class CreateHostedZoneRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
A complex type that contains information about the request to create a hosted zone.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for CreateHostedZoneRequest object.CreateHostedZoneRequest
(String name, String callerReference) Constructs a new CreateHostedZoneRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
A unique string that identifies the request and that allows failedCreateHostedZone
requests to be retried without the risk of executing the operation twice.The delegation set id of the reusable delgation set whose NS records you want to assign to the new hosted zone.A complex type that contains an optional comment about your hosted zone.getName()
The name of the domain.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 failedCreateHostedZone
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
The name of the domain.void
The VPC that you want your hosted zone to be associated with.toString()
Returns a string representation of this object; useful for testing and debugging.withCallerReference
(String callerReference) A unique string that identifies the request and that allows failedCreateHostedZone
requests to be retried without the risk of executing the operation twice.withDelegationSetId
(String delegationSetId) The delegation set id of the reusable delgation set whose NS records you want to assign to the new hosted zone.withHostedZoneConfig
(HostedZoneConfig hostedZoneConfig) A complex type that contains an optional comment about your hosted zone.The name of the domain.The VPC that you want your hosted zone to be associated with.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
CreateHostedZoneRequest
public CreateHostedZoneRequest()Default constructor for CreateHostedZoneRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
CreateHostedZoneRequest
Constructs a new CreateHostedZoneRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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 inDelegationSet
.callerReference
- A unique string that identifies the request and that allows failedCreateHostedZone
requests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReference
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 asDNSMigration_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.
-
-
Method Details
-
setName
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 inDelegationSet
.- Parameters:
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 inDelegationSet
.
-
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 inDelegationSet
.- Returns:
- 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 inDelegationSet
.
-
withName
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 inDelegationSet
.- Parameters:
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 inDelegationSet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVPC
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withVPC
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCallerReference
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 uniqueCallerReference
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 asDNSMigration_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.
- Parameters:
callerReference
- A unique string that identifies the request and that allows failedCreateHostedZone
requests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReference
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 asDNSMigration_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.
-
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 uniqueCallerReference
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 asDNSMigration_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.
- Returns:
- 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 uniqueCallerReference
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 asDNSMigration_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.
-
withCallerReference
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 uniqueCallerReference
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 asDNSMigration_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.
- Parameters:
callerReference
- A unique string that identifies the request and that allows failedCreateHostedZone
requests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReference
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 asDNSMigration_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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHostedZoneConfig
A complex type that contains an optional comment about your hosted zone.
- Parameters:
hostedZoneConfig
- A complex type that contains an optional comment about your hosted zone.
-
getHostedZoneConfig
A complex type that contains an optional comment about your hosted zone.
- Returns:
- A complex type that contains an optional comment about your hosted zone.
-
withHostedZoneConfig
A complex type that contains an optional comment about your hosted zone.
- Parameters:
hostedZoneConfig
- A complex type that contains an optional comment about your hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDelegationSetId
The delegation set id of the reusable delgation set whose NS records you want to assign to the new hosted zone.
- Parameters:
delegationSetId
- The delegation set id of the reusable delgation set whose NS records you want to assign to the new hosted zone.
-
getDelegationSetId
The delegation set id of the reusable delgation set whose NS records you want to assign to the new hosted zone.
- Returns:
- The delegation set id of the reusable delgation set whose NS records you want to assign to the new hosted zone.
-
withDelegationSetId
The delegation set id of the reusable delgation set whose NS records you want to assign to the new hosted zone.
- Parameters:
delegationSetId
- The delegation set id of the reusable delgation set whose NS records you want to assign to the new hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-