#[non_exhaustive]pub struct PhysicalConnectionRequirements {
pub subnet_id: Option<String>,
pub security_group_id_list: Option<Vec<String>>,
pub availability_zone: Option<String>,
}Expand description
Specifies the physical requirements for a connection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.subnet_id: Option<String>The subnet ID used by the connection.
security_group_id_list: Option<Vec<String>>The security group ID list used by the connection.
availability_zone: 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.
Implementations§
source§impl PhysicalConnectionRequirements
impl PhysicalConnectionRequirements
sourcepub fn security_group_id_list(&self) -> &[String]
pub fn security_group_id_list(&self) -> &[String]
The security group ID list used by the connection.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group_id_list.is_none().
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
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.
source§impl PhysicalConnectionRequirements
impl PhysicalConnectionRequirements
sourcepub fn builder() -> PhysicalConnectionRequirementsBuilder
pub fn builder() -> PhysicalConnectionRequirementsBuilder
Creates a new builder-style object to manufacture PhysicalConnectionRequirements.
Trait Implementations§
source§impl Clone for PhysicalConnectionRequirements
impl Clone for PhysicalConnectionRequirements
source§fn clone(&self) -> PhysicalConnectionRequirements
fn clone(&self) -> PhysicalConnectionRequirements
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for PhysicalConnectionRequirements
impl PartialEq for PhysicalConnectionRequirements
source§fn eq(&self, other: &PhysicalConnectionRequirements) -> bool
fn eq(&self, other: &PhysicalConnectionRequirements) -> bool
self and other values to be equal, and is used
by ==.