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 ==
.impl StructuralPartialEq for CreateVpcAttachmentInputBuilder
Auto Trait Implementations§
impl Freeze for CreateVpcAttachmentInputBuilder
impl RefUnwindSafe for CreateVpcAttachmentInputBuilder
impl Send for CreateVpcAttachmentInputBuilder
impl Sync for CreateVpcAttachmentInputBuilder
impl Unpin for CreateVpcAttachmentInputBuilder
impl UnwindSafe for CreateVpcAttachmentInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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