#[non_exhaustive]pub struct PhysicalConnectionRequirementsBuilder { /* private fields */ }Expand description
A builder for PhysicalConnectionRequirements.
Implementations§
source§impl PhysicalConnectionRequirementsBuilder
impl PhysicalConnectionRequirementsBuilder
sourcepub fn set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
The subnet ID used by the connection.
sourcepub fn get_subnet_id(&self) -> &Option<String>
pub fn get_subnet_id(&self) -> &Option<String>
The subnet ID used by the connection.
sourcepub fn security_group_id_list(self, input: impl Into<String>) -> Self
pub fn security_group_id_list(self, input: impl Into<String>) -> Self
Appends an item to security_group_id_list.
To override the contents of this collection use set_security_group_id_list.
The security group ID list used by the connection.
sourcepub fn set_security_group_id_list(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_id_list(self, input: Option<Vec<String>>) -> Self
The security group ID list used by the connection.
sourcepub fn get_security_group_id_list(&self) -> &Option<Vec<String>>
pub fn get_security_group_id_list(&self) -> &Option<Vec<String>>
The security group ID list used by the connection.
sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
The connection's Availability Zone. This field is redundant because the specified subnet implies the Availability Zone to be used. Currently the field must be populated, but it will be deprecated in the future.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
The connection's Availability Zone. This field is redundant because the specified subnet implies the Availability Zone to be used. Currently the field must be populated, but it will be deprecated in the future.
sourcepub fn get_availability_zone(&self) -> &Option<String>
pub fn get_availability_zone(&self) -> &Option<String>
The connection's Availability Zone. This field is redundant because the specified subnet implies the Availability Zone to be used. Currently the field must be populated, but it will be deprecated in the future.
sourcepub fn build(self) -> PhysicalConnectionRequirements
pub fn build(self) -> PhysicalConnectionRequirements
Consumes the builder and constructs a PhysicalConnectionRequirements.
Trait Implementations§
source§impl Clone for PhysicalConnectionRequirementsBuilder
impl Clone for PhysicalConnectionRequirementsBuilder
source§fn clone(&self) -> PhysicalConnectionRequirementsBuilder
fn clone(&self) -> PhysicalConnectionRequirementsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PhysicalConnectionRequirementsBuilder
impl Default for PhysicalConnectionRequirementsBuilder
source§fn default() -> PhysicalConnectionRequirementsBuilder
fn default() -> PhysicalConnectionRequirementsBuilder
source§impl PartialEq for PhysicalConnectionRequirementsBuilder
impl PartialEq for PhysicalConnectionRequirementsBuilder
source§fn eq(&self, other: &PhysicalConnectionRequirementsBuilder) -> bool
fn eq(&self, other: &PhysicalConnectionRequirementsBuilder) -> bool
self and other values to be equal, and is used
by ==.