Struct aws_sdk_robomaker::types::VpcConfigResponse
source · #[non_exhaustive]pub struct VpcConfigResponse {
pub subnets: Option<Vec<String>>,
pub security_groups: Option<Vec<String>>,
pub vpc_id: Option<String>,
pub assign_public_ip: bool,
}Expand description
VPC configuration associated with your simulation job.
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.subnets: Option<Vec<String>>A list of subnet IDs associated with the simulation job.
security_groups: Option<Vec<String>>A list of security group IDs associated with the simulation job.
vpc_id: Option<String>The VPC ID associated with your simulation job.
assign_public_ip: boolA boolean indicating if a public IP was assigned.
Implementations§
source§impl VpcConfigResponse
impl VpcConfigResponse
sourcepub fn subnets(&self) -> &[String]
pub fn subnets(&self) -> &[String]
A list of subnet IDs associated with the simulation job.
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 security_groups(&self) -> &[String]
pub fn security_groups(&self) -> &[String]
A list of security group IDs associated with the simulation job.
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_groups.is_none().
sourcepub fn assign_public_ip(&self) -> bool
pub fn assign_public_ip(&self) -> bool
A boolean indicating if a public IP was assigned.
source§impl VpcConfigResponse
impl VpcConfigResponse
sourcepub fn builder() -> VpcConfigResponseBuilder
pub fn builder() -> VpcConfigResponseBuilder
Creates a new builder-style object to manufacture VpcConfigResponse.
Trait Implementations§
source§impl Clone for VpcConfigResponse
impl Clone for VpcConfigResponse
source§fn clone(&self) -> VpcConfigResponse
fn clone(&self) -> VpcConfigResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VpcConfigResponse
impl Debug for VpcConfigResponse
source§impl PartialEq for VpcConfigResponse
impl PartialEq for VpcConfigResponse
source§fn eq(&self, other: &VpcConfigResponse) -> bool
fn eq(&self, other: &VpcConfigResponse) -> bool
self and other values to be equal, and is used
by ==.