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.
This field is required.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 get_peering_id(&self) -> &Option<String>
pub fn get_peering_id(&self) -> &Option<String>
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
.
source§impl GetTransitGatewayPeeringInputBuilder
impl GetTransitGatewayPeeringInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetTransitGatewayPeeringOutput, SdkError<GetTransitGatewayPeeringError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetTransitGatewayPeeringOutput, SdkError<GetTransitGatewayPeeringError, HttpResponse>>
Sends a request with this input using the given client.
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 for GetTransitGatewayPeeringInputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for GetTransitGatewayPeeringInputBuilder
Auto Trait Implementations§
impl Freeze for GetTransitGatewayPeeringInputBuilder
impl RefUnwindSafe for GetTransitGatewayPeeringInputBuilder
impl Send for GetTransitGatewayPeeringInputBuilder
impl Sync for GetTransitGatewayPeeringInputBuilder
impl Unpin for GetTransitGatewayPeeringInputBuilder
impl UnwindSafe for GetTransitGatewayPeeringInputBuilder
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.