Struct aws_sdk_route53::operation::list_vpc_association_authorizations::builders::ListVpcAssociationAuthorizationsOutputBuilder
source · #[non_exhaustive]pub struct ListVpcAssociationAuthorizationsOutputBuilder { /* private fields */ }
Expand description
A builder for ListVpcAssociationAuthorizationsOutput
.
Implementations§
source§impl ListVpcAssociationAuthorizationsOutputBuilder
impl ListVpcAssociationAuthorizationsOutputBuilder
sourcepub fn hosted_zone_id(self, input: impl Into<String>) -> Self
pub fn hosted_zone_id(self, input: impl Into<String>) -> Self
The ID of the hosted zone that you can associate the listed VPCs with.
This field is required.sourcepub fn set_hosted_zone_id(self, input: Option<String>) -> Self
pub fn set_hosted_zone_id(self, input: Option<String>) -> Self
The ID of the hosted zone that you can associate the listed VPCs with.
sourcepub fn get_hosted_zone_id(&self) -> &Option<String>
pub fn get_hosted_zone_id(&self) -> &Option<String>
The ID of the hosted zone that you can associate the listed VPCs with.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When the response includes a NextToken
element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit another ListVPCAssociationAuthorizations
request, and include the value of the NextToken
element from the response in the nexttoken
request parameter.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When the response includes a NextToken
element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit another ListVPCAssociationAuthorizations
request, and include the value of the NextToken
element from the response in the nexttoken
request parameter.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When the response includes a NextToken
element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit another ListVPCAssociationAuthorizations
request, and include the value of the NextToken
element from the response in the nexttoken
request parameter.
sourcepub fn vpcs(self, input: Vpc) -> Self
pub fn vpcs(self, input: Vpc) -> Self
Appends an item to vpcs
.
To override the contents of this collection use set_vpcs
.
The list of VPCs that are authorized to be associated with the specified hosted zone.
sourcepub fn set_vpcs(self, input: Option<Vec<Vpc>>) -> Self
pub fn set_vpcs(self, input: Option<Vec<Vpc>>) -> Self
The list of VPCs that are authorized to be associated with the specified hosted zone.
sourcepub fn get_vpcs(&self) -> &Option<Vec<Vpc>>
pub fn get_vpcs(&self) -> &Option<Vec<Vpc>>
The list of VPCs that are authorized to be associated with the specified hosted zone.
sourcepub fn build(self) -> Result<ListVpcAssociationAuthorizationsOutput, BuildError>
pub fn build(self) -> Result<ListVpcAssociationAuthorizationsOutput, BuildError>
Consumes the builder and constructs a ListVpcAssociationAuthorizationsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListVpcAssociationAuthorizationsOutputBuilder
impl Clone for ListVpcAssociationAuthorizationsOutputBuilder
source§fn clone(&self) -> ListVpcAssociationAuthorizationsOutputBuilder
fn clone(&self) -> ListVpcAssociationAuthorizationsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListVpcAssociationAuthorizationsOutputBuilder
impl Default for ListVpcAssociationAuthorizationsOutputBuilder
source§fn default() -> ListVpcAssociationAuthorizationsOutputBuilder
fn default() -> ListVpcAssociationAuthorizationsOutputBuilder
source§impl PartialEq for ListVpcAssociationAuthorizationsOutputBuilder
impl PartialEq for ListVpcAssociationAuthorizationsOutputBuilder
source§fn eq(&self, other: &ListVpcAssociationAuthorizationsOutputBuilder) -> bool
fn eq(&self, other: &ListVpcAssociationAuthorizationsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListVpcAssociationAuthorizationsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListVpcAssociationAuthorizationsOutputBuilder
impl RefUnwindSafe for ListVpcAssociationAuthorizationsOutputBuilder
impl Send for ListVpcAssociationAuthorizationsOutputBuilder
impl Sync for ListVpcAssociationAuthorizationsOutputBuilder
impl Unpin for ListVpcAssociationAuthorizationsOutputBuilder
impl UnwindSafe for ListVpcAssociationAuthorizationsOutputBuilder
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