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 ==.impl StructuralPartialEq for VpcConfigResponse
Auto Trait Implementations§
impl Freeze for VpcConfigResponse
impl RefUnwindSafe for VpcConfigResponse
impl Send for VpcConfigResponse
impl Sync for VpcConfigResponse
impl Unpin for VpcConfigResponse
impl UnwindSafe for VpcConfigResponse
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more