Struct aws_sdk_elasticsearch::types::VpcDerivedInfo
source · #[non_exhaustive]pub struct VpcDerivedInfo {
pub vpc_id: Option<String>,
pub subnet_ids: Option<Vec<String>>,
pub availability_zones: Option<Vec<String>>,
pub security_group_ids: Option<Vec<String>>,
}
Expand description
Options to specify the subnets and security groups for VPC endpoint. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains.
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 VPC Id for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.
subnet_ids: Option<Vec<String>>
Specifies the subnets for VPC endpoint.
availability_zones: Option<Vec<String>>
The availability zones for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.
security_group_ids: Option<Vec<String>>
Specifies the security groups for VPC endpoint.
Implementations§
source§impl VpcDerivedInfo
impl VpcDerivedInfo
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The VPC Id for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.
sourcepub fn subnet_ids(&self) -> &[String]
pub fn subnet_ids(&self) -> &[String]
Specifies the subnets for VPC endpoint.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnet_ids.is_none()
.
sourcepub fn availability_zones(&self) -> &[String]
pub fn availability_zones(&self) -> &[String]
The availability zones for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .availability_zones.is_none()
.
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
Specifies the security groups for VPC endpoint.
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()
.
source§impl VpcDerivedInfo
impl VpcDerivedInfo
sourcepub fn builder() -> VpcDerivedInfoBuilder
pub fn builder() -> VpcDerivedInfoBuilder
Creates a new builder-style object to manufacture VpcDerivedInfo
.
Trait Implementations§
source§impl Clone for VpcDerivedInfo
impl Clone for VpcDerivedInfo
source§fn clone(&self) -> VpcDerivedInfo
fn clone(&self) -> VpcDerivedInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcDerivedInfo
impl Debug for VpcDerivedInfo
source§impl PartialEq for VpcDerivedInfo
impl PartialEq for VpcDerivedInfo
source§fn eq(&self, other: &VpcDerivedInfo) -> bool
fn eq(&self, other: &VpcDerivedInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VpcDerivedInfo
Auto Trait Implementations§
impl Freeze for VpcDerivedInfo
impl RefUnwindSafe for VpcDerivedInfo
impl Send for VpcDerivedInfo
impl Sync for VpcDerivedInfo
impl Unpin for VpcDerivedInfo
impl UnwindSafe for VpcDerivedInfo
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