pub struct UpdateLinkFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateLink
.
Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.
Implementations§
source§impl UpdateLinkFluentBuilder
impl UpdateLinkFluentBuilder
sourcepub fn as_input(&self) -> &UpdateLinkInputBuilder
pub fn as_input(&self) -> &UpdateLinkInputBuilder
Access the UpdateLink as a reference.
sourcepub async fn send(
self
) -> Result<UpdateLinkOutput, SdkError<UpdateLinkError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateLinkOutput, SdkError<UpdateLinkError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<UpdateLinkOutput, UpdateLinkError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateLinkOutput, UpdateLinkError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_global_network_id(&self) -> &Option<String>
pub fn get_global_network_id(&self) -> &Option<String>
The ID of the global network.
sourcepub fn set_link_id(self, input: Option<String>) -> Self
pub fn set_link_id(self, input: Option<String>) -> Self
The ID of the link.
sourcepub fn get_link_id(&self) -> &Option<String>
pub fn get_link_id(&self) -> &Option<String>
The ID of the link.
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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.
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.
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
The type of the link.
Constraints: Maximum length of 128 characters.
sourcepub fn set_bandwidth(self, input: Option<Bandwidth>) -> Self
pub fn set_bandwidth(self, input: Option<Bandwidth>) -> Self
The upload and download speed in Mbps.
sourcepub fn get_bandwidth(&self) -> &Option<Bandwidth>
pub fn get_bandwidth(&self) -> &Option<Bandwidth>
The upload 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.
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.
sourcepub fn get_provider(&self) -> &Option<String>
pub fn get_provider(&self) -> &Option<String>
The provider of the link.
Constraints: Maximum length of 128 characters.
Trait Implementations§
source§impl Clone for UpdateLinkFluentBuilder
impl Clone for UpdateLinkFluentBuilder
source§fn clone(&self) -> UpdateLinkFluentBuilder
fn clone(&self) -> UpdateLinkFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateLinkFluentBuilder
impl !RefUnwindSafe for UpdateLinkFluentBuilder
impl Send for UpdateLinkFluentBuilder
impl Sync for UpdateLinkFluentBuilder
impl Unpin for UpdateLinkFluentBuilder
impl !UnwindSafe for UpdateLinkFluentBuilder
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> 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