#[non_exhaustive]pub struct UpdateLinkInputBuilder { /* private fields */ }
Expand description
A builder for UpdateLinkInput
.
Implementations§
source§impl UpdateLinkInputBuilder
impl UpdateLinkInputBuilder
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.
This field is required.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 link_id(self, input: impl Into<String>) -> Self
pub fn link_id(self, input: impl Into<String>) -> Self
The ID of the link.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateLinkInput, BuildError>
pub fn build(self) -> Result<UpdateLinkInput, BuildError>
Consumes the builder and constructs a UpdateLinkInput
.
source§impl UpdateLinkInputBuilder
impl UpdateLinkInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateLinkOutput, SdkError<UpdateLinkError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateLinkOutput, SdkError<UpdateLinkError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateLinkInputBuilder
impl Clone for UpdateLinkInputBuilder
source§fn clone(&self) -> UpdateLinkInputBuilder
fn clone(&self) -> UpdateLinkInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateLinkInputBuilder
impl Debug for UpdateLinkInputBuilder
source§impl Default for UpdateLinkInputBuilder
impl Default for UpdateLinkInputBuilder
source§fn default() -> UpdateLinkInputBuilder
fn default() -> UpdateLinkInputBuilder
source§impl PartialEq for UpdateLinkInputBuilder
impl PartialEq for UpdateLinkInputBuilder
source§fn eq(&self, other: &UpdateLinkInputBuilder) -> bool
fn eq(&self, other: &UpdateLinkInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateLinkInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateLinkInputBuilder
impl RefUnwindSafe for UpdateLinkInputBuilder
impl Send for UpdateLinkInputBuilder
impl Sync for UpdateLinkInputBuilder
impl Unpin for UpdateLinkInputBuilder
impl UnwindSafe for UpdateLinkInputBuilder
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