#[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 ==
.