Struct aws_sdk_ec2::operation::describe_transit_gateway_vpc_attachments::builders::DescribeTransitGatewayVpcAttachmentsOutputBuilder
source · #[non_exhaustive]pub struct DescribeTransitGatewayVpcAttachmentsOutputBuilder { /* private fields */ }Expand description
A builder for DescribeTransitGatewayVpcAttachmentsOutput.
Implementations§
source§impl DescribeTransitGatewayVpcAttachmentsOutputBuilder
impl DescribeTransitGatewayVpcAttachmentsOutputBuilder
sourcepub fn transit_gateway_vpc_attachments(
self,
input: TransitGatewayVpcAttachment
) -> Self
pub fn transit_gateway_vpc_attachments( self, input: TransitGatewayVpcAttachment ) -> Self
Appends an item to transit_gateway_vpc_attachments.
To override the contents of this collection use set_transit_gateway_vpc_attachments.
Information about the VPC attachments.
sourcepub fn set_transit_gateway_vpc_attachments(
self,
input: Option<Vec<TransitGatewayVpcAttachment>>
) -> Self
pub fn set_transit_gateway_vpc_attachments( self, input: Option<Vec<TransitGatewayVpcAttachment>> ) -> Self
Information about the VPC attachments.
sourcepub fn get_transit_gateway_vpc_attachments(
&self
) -> &Option<Vec<TransitGatewayVpcAttachment>>
pub fn get_transit_gateway_vpc_attachments( &self ) -> &Option<Vec<TransitGatewayVpcAttachment>>
Information about the VPC attachments.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn build(self) -> DescribeTransitGatewayVpcAttachmentsOutput
pub fn build(self) -> DescribeTransitGatewayVpcAttachmentsOutput
Consumes the builder and constructs a DescribeTransitGatewayVpcAttachmentsOutput.
Trait Implementations§
source§impl Clone for DescribeTransitGatewayVpcAttachmentsOutputBuilder
impl Clone for DescribeTransitGatewayVpcAttachmentsOutputBuilder
source§fn clone(&self) -> DescribeTransitGatewayVpcAttachmentsOutputBuilder
fn clone(&self) -> DescribeTransitGatewayVpcAttachmentsOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for DescribeTransitGatewayVpcAttachmentsOutputBuilder
impl Default for DescribeTransitGatewayVpcAttachmentsOutputBuilder
source§fn default() -> DescribeTransitGatewayVpcAttachmentsOutputBuilder
fn default() -> DescribeTransitGatewayVpcAttachmentsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeTransitGatewayVpcAttachmentsOutputBuilder
impl PartialEq for DescribeTransitGatewayVpcAttachmentsOutputBuilder
source§fn eq(&self, other: &DescribeTransitGatewayVpcAttachmentsOutputBuilder) -> bool
fn eq(&self, other: &DescribeTransitGatewayVpcAttachmentsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeTransitGatewayVpcAttachmentsOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeTransitGatewayVpcAttachmentsOutputBuilder
impl RefUnwindSafe for DescribeTransitGatewayVpcAttachmentsOutputBuilder
impl Send for DescribeTransitGatewayVpcAttachmentsOutputBuilder
impl Sync for DescribeTransitGatewayVpcAttachmentsOutputBuilder
impl Unpin for DescribeTransitGatewayVpcAttachmentsOutputBuilder
impl UnwindSafe for DescribeTransitGatewayVpcAttachmentsOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.