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 ==
.