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 ==
.