Struct aws_sdk_networkmanager::operation::create_vpc_attachment::builders::CreateVpcAttachmentInputBuilder
source · #[non_exhaustive]pub struct CreateVpcAttachmentInputBuilder { /* private fields */ }
Expand description
A builder for CreateVpcAttachmentInput
.
Implementations§
source§impl CreateVpcAttachmentInputBuilder
impl CreateVpcAttachmentInputBuilder
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 for the VPC attachment.
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 for the VPC attachment.
sourcepub fn get_core_network_id(&self) -> &Option<String>
pub fn get_core_network_id(&self) -> &Option<String>
The ID of a core network for the VPC attachment.
sourcepub fn vpc_arn(self, input: impl Into<String>) -> Self
pub fn vpc_arn(self, input: impl Into<String>) -> Self
The ARN of the VPC.
This field is required.sourcepub fn set_vpc_arn(self, input: Option<String>) -> Self
pub fn set_vpc_arn(self, input: Option<String>) -> Self
The ARN of the VPC.
sourcepub fn get_vpc_arn(&self) -> &Option<String>
pub fn get_vpc_arn(&self) -> &Option<String>
The ARN of the VPC.
sourcepub fn subnet_arns(self, input: impl Into<String>) -> Self
pub fn subnet_arns(self, input: impl Into<String>) -> Self
Appends an item to subnet_arns
.
To override the contents of this collection use set_subnet_arns
.
The subnet ARN of the VPC attachment.
sourcepub fn set_subnet_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_arns(self, input: Option<Vec<String>>) -> Self
The subnet ARN of the VPC attachment.
sourcepub fn get_subnet_arns(&self) -> &Option<Vec<String>>
pub fn get_subnet_arns(&self) -> &Option<Vec<String>>
The subnet ARN of the VPC attachment.
sourcepub fn options(self, input: VpcOptions) -> Self
pub fn options(self, input: VpcOptions) -> Self
Options for the VPC attachment.
sourcepub fn set_options(self, input: Option<VpcOptions>) -> Self
pub fn set_options(self, input: Option<VpcOptions>) -> Self
Options for the VPC attachment.
sourcepub fn get_options(&self) -> &Option<VpcOptions>
pub fn get_options(&self) -> &Option<VpcOptions>
Options for the VPC attachment.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The key-value tags associated with the request.
The key-value tags associated with the request.
The 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<CreateVpcAttachmentInput, BuildError>
pub fn build(self) -> Result<CreateVpcAttachmentInput, BuildError>
Consumes the builder and constructs a CreateVpcAttachmentInput
.
source§impl CreateVpcAttachmentInputBuilder
impl CreateVpcAttachmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateVpcAttachmentOutput, SdkError<CreateVpcAttachmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateVpcAttachmentOutput, SdkError<CreateVpcAttachmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateVpcAttachmentInputBuilder
impl Clone for CreateVpcAttachmentInputBuilder
source§fn clone(&self) -> CreateVpcAttachmentInputBuilder
fn clone(&self) -> CreateVpcAttachmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateVpcAttachmentInputBuilder
impl Default for CreateVpcAttachmentInputBuilder
source§fn default() -> CreateVpcAttachmentInputBuilder
fn default() -> CreateVpcAttachmentInputBuilder
source§impl PartialEq for CreateVpcAttachmentInputBuilder
impl PartialEq for CreateVpcAttachmentInputBuilder
source§fn eq(&self, other: &CreateVpcAttachmentInputBuilder) -> bool
fn eq(&self, other: &CreateVpcAttachmentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.