Struct aws_sdk_networkmanager::operation::get_transit_gateway_peering::builders::GetTransitGatewayPeeringInputBuilder
source · #[non_exhaustive]pub struct GetTransitGatewayPeeringInputBuilder { /* private fields */ }
Expand description
A builder for GetTransitGatewayPeeringInput
.
Implementations§
source§impl GetTransitGatewayPeeringInputBuilder
impl GetTransitGatewayPeeringInputBuilder
sourcepub fn peering_id(self, input: impl Into<String>) -> Self
pub fn peering_id(self, input: impl Into<String>) -> Self
The ID of the peering request.
sourcepub fn set_peering_id(self, input: Option<String>) -> Self
pub fn set_peering_id(self, input: Option<String>) -> Self
The ID of the peering request.
sourcepub fn build(self) -> Result<GetTransitGatewayPeeringInput, BuildError>
pub fn build(self) -> Result<GetTransitGatewayPeeringInput, BuildError>
Consumes the builder and constructs a GetTransitGatewayPeeringInput
.
Trait Implementations§
source§impl Clone for GetTransitGatewayPeeringInputBuilder
impl Clone for GetTransitGatewayPeeringInputBuilder
source§fn clone(&self) -> GetTransitGatewayPeeringInputBuilder
fn clone(&self) -> GetTransitGatewayPeeringInputBuilder
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 GetTransitGatewayPeeringInputBuilder
impl Default for GetTransitGatewayPeeringInputBuilder
source§fn default() -> GetTransitGatewayPeeringInputBuilder
fn default() -> GetTransitGatewayPeeringInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetTransitGatewayPeeringInputBuilder> for GetTransitGatewayPeeringInputBuilder
impl PartialEq<GetTransitGatewayPeeringInputBuilder> for GetTransitGatewayPeeringInputBuilder
source§fn eq(&self, other: &GetTransitGatewayPeeringInputBuilder) -> bool
fn eq(&self, other: &GetTransitGatewayPeeringInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.