Struct aws_sdk_ec2::operation::describe_transit_gateway_attachments::builders::DescribeTransitGatewayAttachmentsOutputBuilder
source · #[non_exhaustive]pub struct DescribeTransitGatewayAttachmentsOutputBuilder { /* private fields */ }Expand description
A builder for DescribeTransitGatewayAttachmentsOutput.
Implementations§
source§impl DescribeTransitGatewayAttachmentsOutputBuilder
impl DescribeTransitGatewayAttachmentsOutputBuilder
sourcepub fn transit_gateway_attachments(
self,
input: TransitGatewayAttachment
) -> Self
pub fn transit_gateway_attachments( self, input: TransitGatewayAttachment ) -> Self
Appends an item to transit_gateway_attachments.
To override the contents of this collection use set_transit_gateway_attachments.
Information about the attachments.
sourcepub fn set_transit_gateway_attachments(
self,
input: Option<Vec<TransitGatewayAttachment>>
) -> Self
pub fn set_transit_gateway_attachments( self, input: Option<Vec<TransitGatewayAttachment>> ) -> Self
Information about the attachments.
sourcepub fn get_transit_gateway_attachments(
&self
) -> &Option<Vec<TransitGatewayAttachment>>
pub fn get_transit_gateway_attachments( &self ) -> &Option<Vec<TransitGatewayAttachment>>
Information about the 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) -> DescribeTransitGatewayAttachmentsOutput
pub fn build(self) -> DescribeTransitGatewayAttachmentsOutput
Consumes the builder and constructs a DescribeTransitGatewayAttachmentsOutput.
Trait Implementations§
source§impl Clone for DescribeTransitGatewayAttachmentsOutputBuilder
impl Clone for DescribeTransitGatewayAttachmentsOutputBuilder
source§fn clone(&self) -> DescribeTransitGatewayAttachmentsOutputBuilder
fn clone(&self) -> DescribeTransitGatewayAttachmentsOutputBuilder
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 DescribeTransitGatewayAttachmentsOutputBuilder
impl Default for DescribeTransitGatewayAttachmentsOutputBuilder
source§fn default() -> DescribeTransitGatewayAttachmentsOutputBuilder
fn default() -> DescribeTransitGatewayAttachmentsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeTransitGatewayAttachmentsOutputBuilder
impl PartialEq for DescribeTransitGatewayAttachmentsOutputBuilder
source§fn eq(&self, other: &DescribeTransitGatewayAttachmentsOutputBuilder) -> bool
fn eq(&self, other: &DescribeTransitGatewayAttachmentsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeTransitGatewayAttachmentsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeTransitGatewayAttachmentsOutputBuilder
impl Send for DescribeTransitGatewayAttachmentsOutputBuilder
impl Sync for DescribeTransitGatewayAttachmentsOutputBuilder
impl Unpin for DescribeTransitGatewayAttachmentsOutputBuilder
impl UnwindSafe for DescribeTransitGatewayAttachmentsOutputBuilder
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.