#[non_exhaustive]pub struct CreateLinkInputBuilder { /* private fields */ }
Expand description
A builder for CreateLinkInput
.
Implementations§
source§impl CreateLinkInputBuilder
impl CreateLinkInputBuilder
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 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. 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 get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
The type of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
sourcepub fn bandwidth(self, input: Bandwidth) -> Self
pub fn bandwidth(self, input: Bandwidth) -> Self
The upload speed and download speed in Mbps.
This field is required.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 get_bandwidth(&self) -> &Option<Bandwidth>
pub fn get_bandwidth(&self) -> &Option<Bandwidth>
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 get_provider(&self) -> &Option<String>
pub fn get_provider(&self) -> &Option<String>
The provider of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
sourcepub fn site_id(self, input: impl Into<String>) -> Self
pub fn site_id(self, input: impl Into<String>) -> Self
The ID of the site.
This field is required.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.
sourcepub fn get_site_id(&self) -> &Option<String>
pub fn get_site_id(&self) -> &Option<String>
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.
The tags to apply to the resource during creation.
sourcepub fn build(self) -> Result<CreateLinkInput, BuildError>
pub fn build(self) -> Result<CreateLinkInput, BuildError>
Consumes the builder and constructs a CreateLinkInput
.
source§impl CreateLinkInputBuilder
impl CreateLinkInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateLinkOutput, SdkError<CreateLinkError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateLinkOutput, SdkError<CreateLinkError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateLinkInputBuilder
impl Clone for CreateLinkInputBuilder
source§fn clone(&self) -> CreateLinkInputBuilder
fn clone(&self) -> CreateLinkInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateLinkInputBuilder
impl Debug for CreateLinkInputBuilder
source§impl Default for CreateLinkInputBuilder
impl Default for CreateLinkInputBuilder
source§fn default() -> CreateLinkInputBuilder
fn default() -> CreateLinkInputBuilder
source§impl PartialEq for CreateLinkInputBuilder
impl PartialEq for CreateLinkInputBuilder
source§fn eq(&self, other: &CreateLinkInputBuilder) -> bool
fn eq(&self, other: &CreateLinkInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateLinkInputBuilder
Auto Trait Implementations§
impl Freeze for CreateLinkInputBuilder
impl RefUnwindSafe for CreateLinkInputBuilder
impl Send for CreateLinkInputBuilder
impl Sync for CreateLinkInputBuilder
impl Unpin for CreateLinkInputBuilder
impl UnwindSafe for CreateLinkInputBuilder
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