Struct aws_sdk_networkmanager::operation::create_transit_gateway_peering::builders::CreateTransitGatewayPeeringInputBuilder
source · #[non_exhaustive]pub struct CreateTransitGatewayPeeringInputBuilder { /* private fields */ }
Expand description
A builder for CreateTransitGatewayPeeringInput
.
Implementations§
source§impl CreateTransitGatewayPeeringInputBuilder
impl CreateTransitGatewayPeeringInputBuilder
sourcepub fn core_network_id(self, input: impl Into<String>) -> Self
pub fn core_network_id(self, input: impl Into<String>) -> Self
The ID of a core network.
This field is required.sourcepub fn set_core_network_id(self, input: Option<String>) -> Self
pub fn set_core_network_id(self, input: Option<String>) -> Self
The ID of a core network.
sourcepub fn get_core_network_id(&self) -> &Option<String>
pub fn get_core_network_id(&self) -> &Option<String>
The ID of a core network.
sourcepub fn transit_gateway_arn(self, input: impl Into<String>) -> Self
pub fn transit_gateway_arn(self, input: impl Into<String>) -> Self
The ARN of the transit gateway for the peering request.
This field is required.sourcepub fn set_transit_gateway_arn(self, input: Option<String>) -> Self
pub fn set_transit_gateway_arn(self, input: Option<String>) -> Self
The ARN of the transit gateway for the peering request.
sourcepub fn get_transit_gateway_arn(&self) -> &Option<String>
pub fn get_transit_gateway_arn(&self) -> &Option<String>
The ARN of the transit gateway for the peering request.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The list of key-value tags associated with the request.
The list of key-value tags associated with the request.
The list of key-value tags associated with the request.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The client token associated with the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The client token associated with the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The client token associated with the request.
sourcepub fn build(self) -> Result<CreateTransitGatewayPeeringInput, BuildError>
pub fn build(self) -> Result<CreateTransitGatewayPeeringInput, BuildError>
Consumes the builder and constructs a CreateTransitGatewayPeeringInput
.
source§impl CreateTransitGatewayPeeringInputBuilder
impl CreateTransitGatewayPeeringInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateTransitGatewayPeeringOutput, SdkError<CreateTransitGatewayPeeringError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateTransitGatewayPeeringOutput, SdkError<CreateTransitGatewayPeeringError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateTransitGatewayPeeringInputBuilder
impl Clone for CreateTransitGatewayPeeringInputBuilder
source§fn clone(&self) -> CreateTransitGatewayPeeringInputBuilder
fn clone(&self) -> CreateTransitGatewayPeeringInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateTransitGatewayPeeringInputBuilder
impl Default for CreateTransitGatewayPeeringInputBuilder
source§fn default() -> CreateTransitGatewayPeeringInputBuilder
fn default() -> CreateTransitGatewayPeeringInputBuilder
source§impl PartialEq for CreateTransitGatewayPeeringInputBuilder
impl PartialEq for CreateTransitGatewayPeeringInputBuilder
source§fn eq(&self, other: &CreateTransitGatewayPeeringInputBuilder) -> bool
fn eq(&self, other: &CreateTransitGatewayPeeringInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTransitGatewayPeeringInputBuilder
Auto Trait Implementations§
impl Freeze for CreateTransitGatewayPeeringInputBuilder
impl RefUnwindSafe for CreateTransitGatewayPeeringInputBuilder
impl Send for CreateTransitGatewayPeeringInputBuilder
impl Sync for CreateTransitGatewayPeeringInputBuilder
impl Unpin for CreateTransitGatewayPeeringInputBuilder
impl UnwindSafe for CreateTransitGatewayPeeringInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more