#[non_exhaustive]pub struct WorkforceVpcConfigResponse {
pub vpc_id: Option<String>,
pub security_group_ids: Option<Vec<String>>,
pub subnets: Option<Vec<String>>,
pub vpc_endpoint_id: Option<String>,
}
Expand description
A VpcConfig object that specifies the VPC that you want your workforce to connect to.
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.vpc_id: Option<String>
The ID of the VPC that the workforce uses for communication.
security_group_ids: Option<Vec<String>>
The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.
subnets: Option<Vec<String>>
The ID of the subnets in the VPC that you want to connect.
vpc_endpoint_id: Option<String>
The IDs for the VPC service endpoints of your VPC workforce when it is created and updated.
Implementations§
source§impl WorkforceVpcConfigResponse
impl WorkforceVpcConfigResponse
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The ID of the VPC that the workforce uses for communication.
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.
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_ids.is_none()
.
sourcepub fn subnets(&self) -> &[String]
pub fn subnets(&self) -> &[String]
The ID of the subnets in the VPC that you want to connect.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnets.is_none()
.
sourcepub fn vpc_endpoint_id(&self) -> Option<&str>
pub fn vpc_endpoint_id(&self) -> Option<&str>
The IDs for the VPC service endpoints of your VPC workforce when it is created and updated.
source§impl WorkforceVpcConfigResponse
impl WorkforceVpcConfigResponse
sourcepub fn builder() -> WorkforceVpcConfigResponseBuilder
pub fn builder() -> WorkforceVpcConfigResponseBuilder
Creates a new builder-style object to manufacture WorkforceVpcConfigResponse
.
Trait Implementations§
source§impl Clone for WorkforceVpcConfigResponse
impl Clone for WorkforceVpcConfigResponse
source§fn clone(&self) -> WorkforceVpcConfigResponse
fn clone(&self) -> WorkforceVpcConfigResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WorkforceVpcConfigResponse
impl Debug for WorkforceVpcConfigResponse
source§impl PartialEq for WorkforceVpcConfigResponse
impl PartialEq for WorkforceVpcConfigResponse
source§fn eq(&self, other: &WorkforceVpcConfigResponse) -> bool
fn eq(&self, other: &WorkforceVpcConfigResponse) -> bool
self
and other
values to be equal, and is used
by ==
.