#[non_exhaustive]pub struct VpcEndpointDetail {
pub id: Option<String>,
pub name: Option<String>,
pub vpc_id: Option<String>,
pub subnet_ids: Option<Vec<String>>,
pub security_group_ids: Option<Vec<String>>,
pub status: Option<VpcEndpointStatus>,
pub created_date: Option<i64>,
}
Expand description
Details about an OpenSearch Serverless-managed interface endpoint.
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.id: Option<String>
The unique identifier of the endpoint.
name: Option<String>
The name of the endpoint.
vpc_id: Option<String>
The ID of the VPC from which you access OpenSearch Serverless.
subnet_ids: Option<Vec<String>>
The ID of the subnets from which you access OpenSearch Serverless.
security_group_ids: Option<Vec<String>>
The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
status: Option<VpcEndpointStatus>
The current status of the endpoint.
created_date: Option<i64>
The date the endpoint was created.
Implementations§
source§impl VpcEndpointDetail
impl VpcEndpointDetail
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The ID of the VPC from which you access OpenSearch Serverless.
sourcepub fn subnet_ids(&self) -> &[String]
pub fn subnet_ids(&self) -> &[String]
The ID of the subnets from which you access OpenSearch Serverless.
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 security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your 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()
.
sourcepub fn status(&self) -> Option<&VpcEndpointStatus>
pub fn status(&self) -> Option<&VpcEndpointStatus>
The current status of the endpoint.
sourcepub fn created_date(&self) -> Option<i64>
pub fn created_date(&self) -> Option<i64>
The date the endpoint was created.
source§impl VpcEndpointDetail
impl VpcEndpointDetail
sourcepub fn builder() -> VpcEndpointDetailBuilder
pub fn builder() -> VpcEndpointDetailBuilder
Creates a new builder-style object to manufacture VpcEndpointDetail
.
Trait Implementations§
source§impl Clone for VpcEndpointDetail
impl Clone for VpcEndpointDetail
source§fn clone(&self) -> VpcEndpointDetail
fn clone(&self) -> VpcEndpointDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcEndpointDetail
impl Debug for VpcEndpointDetail
source§impl PartialEq for VpcEndpointDetail
impl PartialEq for VpcEndpointDetail
source§fn eq(&self, other: &VpcEndpointDetail) -> bool
fn eq(&self, other: &VpcEndpointDetail) -> bool
self
and other
values to be equal, and is used
by ==
.