Struct aws_sdk_directconnect::types::builders::LocationBuilder
source · #[non_exhaustive]pub struct LocationBuilder { /* private fields */ }Expand description
A builder for Location.
Implementations§
source§impl LocationBuilder
impl LocationBuilder
sourcepub fn location_code(self, input: impl Into<String>) -> Self
pub fn location_code(self, input: impl Into<String>) -> Self
The code for the location.
sourcepub fn set_location_code(self, input: Option<String>) -> Self
pub fn set_location_code(self, input: Option<String>) -> Self
The code for the location.
sourcepub fn get_location_code(&self) -> &Option<String>
pub fn get_location_code(&self) -> &Option<String>
The code for the location.
sourcepub fn location_name(self, input: impl Into<String>) -> Self
pub fn location_name(self, input: impl Into<String>) -> Self
The name of the location. This includes the name of the colocation partner and the physical site of the building.
sourcepub fn set_location_name(self, input: Option<String>) -> Self
pub fn set_location_name(self, input: Option<String>) -> Self
The name of the location. This includes the name of the colocation partner and the physical site of the building.
sourcepub fn get_location_name(&self) -> &Option<String>
pub fn get_location_name(&self) -> &Option<String>
The name of the location. This includes the name of the colocation partner and the physical site of the building.
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region for the location.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The Amazon Web Services Region for the location.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
The Amazon Web Services Region for the location.
sourcepub fn available_port_speeds(self, input: impl Into<String>) -> Self
pub fn available_port_speeds(self, input: impl Into<String>) -> Self
Appends an item to available_port_speeds.
To override the contents of this collection use set_available_port_speeds.
The available port speeds for the location.
sourcepub fn set_available_port_speeds(self, input: Option<Vec<String>>) -> Self
pub fn set_available_port_speeds(self, input: Option<Vec<String>>) -> Self
The available port speeds for the location.
sourcepub fn get_available_port_speeds(&self) -> &Option<Vec<String>>
pub fn get_available_port_speeds(&self) -> &Option<Vec<String>>
The available port speeds for the location.
sourcepub fn available_providers(self, input: impl Into<String>) -> Self
pub fn available_providers(self, input: impl Into<String>) -> Self
Appends an item to available_providers.
To override the contents of this collection use set_available_providers.
The name of the service provider for the location.
sourcepub fn set_available_providers(self, input: Option<Vec<String>>) -> Self
pub fn set_available_providers(self, input: Option<Vec<String>>) -> Self
The name of the service provider for the location.
sourcepub fn get_available_providers(&self) -> &Option<Vec<String>>
pub fn get_available_providers(&self) -> &Option<Vec<String>>
The name of the service provider for the location.
sourcepub fn available_mac_sec_port_speeds(self, input: impl Into<String>) -> Self
pub fn available_mac_sec_port_speeds(self, input: impl Into<String>) -> Self
Appends an item to available_mac_sec_port_speeds.
To override the contents of this collection use set_available_mac_sec_port_speeds.
The available MAC Security (MACsec) port speeds for the location.
sourcepub fn set_available_mac_sec_port_speeds(
self,
input: Option<Vec<String>>,
) -> Self
pub fn set_available_mac_sec_port_speeds( self, input: Option<Vec<String>>, ) -> Self
The available MAC Security (MACsec) port speeds for the location.
sourcepub fn get_available_mac_sec_port_speeds(&self) -> &Option<Vec<String>>
pub fn get_available_mac_sec_port_speeds(&self) -> &Option<Vec<String>>
The available MAC Security (MACsec) port speeds for the location.
Trait Implementations§
source§impl Clone for LocationBuilder
impl Clone for LocationBuilder
source§fn clone(&self) -> LocationBuilder
fn clone(&self) -> LocationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LocationBuilder
impl Debug for LocationBuilder
source§impl Default for LocationBuilder
impl Default for LocationBuilder
source§fn default() -> LocationBuilder
fn default() -> LocationBuilder
source§impl PartialEq for LocationBuilder
impl PartialEq for LocationBuilder
impl StructuralPartialEq for LocationBuilder
Auto Trait Implementations§
impl Freeze for LocationBuilder
impl RefUnwindSafe for LocationBuilder
impl Send for LocationBuilder
impl Sync for LocationBuilder
impl Unpin for LocationBuilder
impl UnwindSafe for LocationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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