Struct aws_sdk_route53::operation::create_hosted_zone::builders::CreateHostedZoneOutputBuilder
source · #[non_exhaustive]pub struct CreateHostedZoneOutputBuilder { /* private fields */ }
Expand description
A builder for CreateHostedZoneOutput
.
Implementations§
source§impl CreateHostedZoneOutputBuilder
impl CreateHostedZoneOutputBuilder
sourcepub fn hosted_zone(self, input: HostedZone) -> Self
pub fn hosted_zone(self, input: HostedZone) -> Self
A complex type that contains general information about the hosted zone.
This field is required.sourcepub fn set_hosted_zone(self, input: Option<HostedZone>) -> Self
pub fn set_hosted_zone(self, input: Option<HostedZone>) -> Self
A complex type that contains general information about the hosted zone.
sourcepub fn get_hosted_zone(&self) -> &Option<HostedZone>
pub fn get_hosted_zone(&self) -> &Option<HostedZone>
A complex type that contains general information about the hosted zone.
sourcepub fn change_info(self, input: ChangeInfo) -> Self
pub fn change_info(self, input: ChangeInfo) -> Self
A complex type that contains information about the CreateHostedZone
request.
sourcepub fn set_change_info(self, input: Option<ChangeInfo>) -> Self
pub fn set_change_info(self, input: Option<ChangeInfo>) -> Self
A complex type that contains information about the CreateHostedZone
request.
sourcepub fn get_change_info(&self) -> &Option<ChangeInfo>
pub fn get_change_info(&self) -> &Option<ChangeInfo>
A complex type that contains information about the CreateHostedZone
request.
sourcepub fn delegation_set(self, input: DelegationSet) -> Self
pub fn delegation_set(self, input: DelegationSet) -> Self
A complex type that describes the name servers for this hosted zone.
This field is required.sourcepub fn set_delegation_set(self, input: Option<DelegationSet>) -> Self
pub fn set_delegation_set(self, input: Option<DelegationSet>) -> Self
A complex type that describes the name servers for this hosted zone.
sourcepub fn get_delegation_set(&self) -> &Option<DelegationSet>
pub fn get_delegation_set(&self) -> &Option<DelegationSet>
A complex type that describes the name servers for this hosted zone.
sourcepub fn vpc(self, input: Vpc) -> Self
pub fn vpc(self, input: Vpc) -> Self
A complex type that contains information about an Amazon VPC that you associated with this hosted zone.
sourcepub fn set_vpc(self, input: Option<Vpc>) -> Self
pub fn set_vpc(self, input: Option<Vpc>) -> Self
A complex type that contains information about an Amazon VPC that you associated with this hosted zone.
sourcepub fn get_vpc(&self) -> &Option<Vpc>
pub fn get_vpc(&self) -> &Option<Vpc>
A complex type that contains information about an Amazon VPC that you associated with this hosted zone.
sourcepub fn location(self, input: impl Into<String>) -> Self
pub fn location(self, input: impl Into<String>) -> Self
The unique URL representing the new hosted zone.
This field is required.sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
The unique URL representing the new hosted zone.
sourcepub fn get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
The unique URL representing the new hosted zone.
sourcepub fn build(self) -> Result<CreateHostedZoneOutput, BuildError>
pub fn build(self) -> Result<CreateHostedZoneOutput, BuildError>
Consumes the builder and constructs a CreateHostedZoneOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateHostedZoneOutputBuilder
impl Clone for CreateHostedZoneOutputBuilder
source§fn clone(&self) -> CreateHostedZoneOutputBuilder
fn clone(&self) -> CreateHostedZoneOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateHostedZoneOutputBuilder
impl Default for CreateHostedZoneOutputBuilder
source§fn default() -> CreateHostedZoneOutputBuilder
fn default() -> CreateHostedZoneOutputBuilder
source§impl PartialEq for CreateHostedZoneOutputBuilder
impl PartialEq for CreateHostedZoneOutputBuilder
source§fn eq(&self, other: &CreateHostedZoneOutputBuilder) -> bool
fn eq(&self, other: &CreateHostedZoneOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateHostedZoneOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateHostedZoneOutputBuilder
impl RefUnwindSafe for CreateHostedZoneOutputBuilder
impl Send for CreateHostedZoneOutputBuilder
impl Sync for CreateHostedZoneOutputBuilder
impl Unpin for CreateHostedZoneOutputBuilder
impl UnwindSafe for CreateHostedZoneOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more