Struct aws_sdk_directconnect::model::location::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Location.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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.