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
source§fn eq(&self, other: &LocationBuilder) -> bool
fn eq(&self, other: &LocationBuilder) -> bool
self and other values to be equal, and is used
by ==.