Struct rusoto_route53::CreateHostedZoneRequest
source · [−]pub struct CreateHostedZoneRequest {
pub caller_reference: String,
pub delegation_set_id: Option<String>,
pub hosted_zone_config: Option<HostedZoneConfig>,
pub name: String,
pub vpc: Option<VPC>,
}
Expand description
A complex type that contains information about the request to create a public or private hosted zone.
Fields
caller_reference: String
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 submit a CreateHostedZone
request. CallerReference
can be any unique string, for example, a date/time stamp.
delegation_set_id: Option<String>
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.
hosted_zone_config: Option<HostedZoneConfig>
(Optional) A complex type that contains the following optional values:
-
For public and private hosted zones, an optional comment
-
For private hosted zones, an optional
PrivateZone
element
If you don't specify a comment or the PrivateZone
element, omit HostedZoneConfig
and the other elements.
name: String
The name of the domain. 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 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 Route 53, change the name servers for your domain to the set of NameServers
that CreateHostedZone
returns in DelegationSet
.
vpc: Option<VPC>
(Private hosted zones only) A complex type that contains information about the Amazon VPC that you're associating with this hosted zone.
You can specify only one Amazon VPC when you create a private hosted zone. To associate additional Amazon VPCs with the hosted zone, use AssociateVPCWithHostedZone after you create a hosted zone.
Trait Implementations
sourceimpl Clone for CreateHostedZoneRequest
impl Clone for CreateHostedZoneRequest
sourcefn clone(&self) -> CreateHostedZoneRequest
fn clone(&self) -> CreateHostedZoneRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateHostedZoneRequest
impl Debug for CreateHostedZoneRequest
sourceimpl Default for CreateHostedZoneRequest
impl Default for CreateHostedZoneRequest
sourcefn default() -> CreateHostedZoneRequest
fn default() -> CreateHostedZoneRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateHostedZoneRequest> for CreateHostedZoneRequest
impl PartialEq<CreateHostedZoneRequest> for CreateHostedZoneRequest
sourcefn eq(&self, other: &CreateHostedZoneRequest) -> bool
fn eq(&self, other: &CreateHostedZoneRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateHostedZoneRequest) -> bool
fn ne(&self, other: &CreateHostedZoneRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateHostedZoneRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateHostedZoneRequest
impl Send for CreateHostedZoneRequest
impl Sync for CreateHostedZoneRequest
impl Unpin for CreateHostedZoneRequest
impl UnwindSafe for CreateHostedZoneRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more