Struct aws_sdk_networkmanager::client::fluent_builders::CreateLink
source · pub struct CreateLink { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateLink
.
Creates a new link for a specified site.
Implementations§
source§impl CreateLink
impl CreateLink
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateLink, AwsResponseRetryClassifier>, SdkError<CreateLinkError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateLink, AwsResponseRetryClassifier>, SdkError<CreateLinkError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<CreateLinkOutput, SdkError<CreateLinkError>>
pub async fn send(self) -> Result<CreateLinkOutput, SdkError<CreateLinkError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn global_network_id(self, input: impl Into<String>) -> Self
pub fn global_network_id(self, input: impl Into<String>) -> Self
The ID of the global network.
sourcepub fn set_global_network_id(self, input: Option<String>) -> Self
pub fn set_global_network_id(self, input: Option<String>) -> Self
The ID of the global network.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the link.
Constraints: Maximum length of 256 characters.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the link.
Constraints: Maximum length of 256 characters.
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The type of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
sourcepub fn set_bandwidth(self, input: Option<Bandwidth>) -> Self
pub fn set_bandwidth(self, input: Option<Bandwidth>) -> Self
The upload speed and download speed in Mbps.
sourcepub fn provider(self, input: impl Into<String>) -> Self
pub fn provider(self, input: impl Into<String>) -> Self
The provider of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
sourcepub fn set_provider(self, input: Option<String>) -> Self
pub fn set_provider(self, input: Option<String>) -> Self
The provider of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
sourcepub fn set_site_id(self, input: Option<String>) -> Self
pub fn set_site_id(self, input: Option<String>) -> Self
The ID of the site.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The tags to apply to the resource during creation.
The tags to apply to the resource during creation.
Trait Implementations§
source§impl Clone for CreateLink
impl Clone for CreateLink
source§fn clone(&self) -> CreateLink
fn clone(&self) -> CreateLink
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more