Struct aws_sdk_ec2::operation::describe_transit_gateway_peering_attachments::builders::DescribeTransitGatewayPeeringAttachmentsOutputBuilder
source · #[non_exhaustive]pub struct DescribeTransitGatewayPeeringAttachmentsOutputBuilder { /* private fields */ }Expand description
A builder for DescribeTransitGatewayPeeringAttachmentsOutput.
Implementations§
source§impl DescribeTransitGatewayPeeringAttachmentsOutputBuilder
impl DescribeTransitGatewayPeeringAttachmentsOutputBuilder
sourcepub fn transit_gateway_peering_attachments(
self,
input: TransitGatewayPeeringAttachment
) -> Self
pub fn transit_gateway_peering_attachments( self, input: TransitGatewayPeeringAttachment ) -> Self
Appends an item to transit_gateway_peering_attachments.
To override the contents of this collection use set_transit_gateway_peering_attachments.
The transit gateway peering attachments.
sourcepub fn set_transit_gateway_peering_attachments(
self,
input: Option<Vec<TransitGatewayPeeringAttachment>>
) -> Self
pub fn set_transit_gateway_peering_attachments( self, input: Option<Vec<TransitGatewayPeeringAttachment>> ) -> Self
The transit gateway peering attachments.
sourcepub fn get_transit_gateway_peering_attachments(
&self
) -> &Option<Vec<TransitGatewayPeeringAttachment>>
pub fn get_transit_gateway_peering_attachments( &self ) -> &Option<Vec<TransitGatewayPeeringAttachment>>
The transit gateway peering 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) -> DescribeTransitGatewayPeeringAttachmentsOutput
pub fn build(self) -> DescribeTransitGatewayPeeringAttachmentsOutput
Consumes the builder and constructs a DescribeTransitGatewayPeeringAttachmentsOutput.
Trait Implementations§
source§impl Clone for DescribeTransitGatewayPeeringAttachmentsOutputBuilder
impl Clone for DescribeTransitGatewayPeeringAttachmentsOutputBuilder
source§fn clone(&self) -> DescribeTransitGatewayPeeringAttachmentsOutputBuilder
fn clone(&self) -> DescribeTransitGatewayPeeringAttachmentsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeTransitGatewayPeeringAttachmentsOutputBuilder
impl Default for DescribeTransitGatewayPeeringAttachmentsOutputBuilder
source§fn default() -> DescribeTransitGatewayPeeringAttachmentsOutputBuilder
fn default() -> DescribeTransitGatewayPeeringAttachmentsOutputBuilder
source§impl PartialEq<DescribeTransitGatewayPeeringAttachmentsOutputBuilder> for DescribeTransitGatewayPeeringAttachmentsOutputBuilder
impl PartialEq<DescribeTransitGatewayPeeringAttachmentsOutputBuilder> for DescribeTransitGatewayPeeringAttachmentsOutputBuilder
source§fn eq(
&self,
other: &DescribeTransitGatewayPeeringAttachmentsOutputBuilder
) -> bool
fn eq( &self, other: &DescribeTransitGatewayPeeringAttachmentsOutputBuilder ) -> bool
self and other values to be equal, and is used
by ==.