Struct aws_sdk_networkmanager::operation::create_connect_attachment::builders::CreateConnectAttachmentInputBuilder
source · #[non_exhaustive]pub struct CreateConnectAttachmentInputBuilder { /* private fields */ }
Expand description
A builder for CreateConnectAttachmentInput
.
Implementations§
source§impl CreateConnectAttachmentInputBuilder
impl CreateConnectAttachmentInputBuilder
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 where you want to create the 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 where you want to create the 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 where you want to create the attachment.
sourcepub fn edge_location(self, input: impl Into<String>) -> Self
pub fn edge_location(self, input: impl Into<String>) -> Self
The Region where the edge is located.
This field is required.sourcepub fn set_edge_location(self, input: Option<String>) -> Self
pub fn set_edge_location(self, input: Option<String>) -> Self
The Region where the edge is located.
sourcepub fn get_edge_location(&self) -> &Option<String>
pub fn get_edge_location(&self) -> &Option<String>
The Region where the edge is located.
sourcepub fn transport_attachment_id(self, input: impl Into<String>) -> Self
pub fn transport_attachment_id(self, input: impl Into<String>) -> Self
The ID of the attachment between the two connections.
This field is required.sourcepub fn set_transport_attachment_id(self, input: Option<String>) -> Self
pub fn set_transport_attachment_id(self, input: Option<String>) -> Self
The ID of the attachment between the two connections.
sourcepub fn get_transport_attachment_id(&self) -> &Option<String>
pub fn get_transport_attachment_id(&self) -> &Option<String>
The ID of the attachment between the two connections.
sourcepub fn options(self, input: ConnectAttachmentOptions) -> Self
pub fn options(self, input: ConnectAttachmentOptions) -> Self
Options for creating an attachment.
This field is required.sourcepub fn set_options(self, input: Option<ConnectAttachmentOptions>) -> Self
pub fn set_options(self, input: Option<ConnectAttachmentOptions>) -> Self
Options for creating an attachment.
sourcepub fn get_options(&self) -> &Option<ConnectAttachmentOptions>
pub fn get_options(&self) -> &Option<ConnectAttachmentOptions>
Options for creating an attachment.
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<CreateConnectAttachmentInput, BuildError>
pub fn build(self) -> Result<CreateConnectAttachmentInput, BuildError>
Consumes the builder and constructs a CreateConnectAttachmentInput
.
source§impl CreateConnectAttachmentInputBuilder
impl CreateConnectAttachmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateConnectAttachmentOutput, SdkError<CreateConnectAttachmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateConnectAttachmentOutput, SdkError<CreateConnectAttachmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateConnectAttachmentInputBuilder
impl Clone for CreateConnectAttachmentInputBuilder
source§fn clone(&self) -> CreateConnectAttachmentInputBuilder
fn clone(&self) -> CreateConnectAttachmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateConnectAttachmentInputBuilder
impl Default for CreateConnectAttachmentInputBuilder
source§fn default() -> CreateConnectAttachmentInputBuilder
fn default() -> CreateConnectAttachmentInputBuilder
source§impl PartialEq for CreateConnectAttachmentInputBuilder
impl PartialEq for CreateConnectAttachmentInputBuilder
source§fn eq(&self, other: &CreateConnectAttachmentInputBuilder) -> bool
fn eq(&self, other: &CreateConnectAttachmentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.