#[non_exhaustive]pub struct CreateVpcEndpointInput {
pub name: Option<String>,
pub vpc_id: Option<String>,
pub subnet_ids: Option<Vec<String>>,
pub security_group_ids: Option<Vec<String>>,
pub client_token: Option<String>,
}
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.name: Option<String>
The name of the interface endpoint.
vpc_id: Option<String>
The ID of the VPC from which you'll access OpenSearch Serverless.
subnet_ids: Option<Vec<String>>
The ID of one or more subnets from which you'll 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.
client_token: Option<String>
Unique, case-sensitive identifier to ensure idempotency of the request.
Implementations§
source§impl CreateVpcEndpointInput
impl CreateVpcEndpointInput
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The ID of the VPC from which you'll access OpenSearch Serverless.
sourcepub fn subnet_ids(&self) -> &[String]
pub fn subnet_ids(&self) -> &[String]
The ID of one or more subnets from which you'll 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 client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier to ensure idempotency of the request.
source§impl CreateVpcEndpointInput
impl CreateVpcEndpointInput
sourcepub fn builder() -> CreateVpcEndpointInputBuilder
pub fn builder() -> CreateVpcEndpointInputBuilder
Creates a new builder-style object to manufacture CreateVpcEndpointInput
.
Trait Implementations§
source§impl Clone for CreateVpcEndpointInput
impl Clone for CreateVpcEndpointInput
source§fn clone(&self) -> CreateVpcEndpointInput
fn clone(&self) -> CreateVpcEndpointInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateVpcEndpointInput
impl Debug for CreateVpcEndpointInput
source§impl PartialEq for CreateVpcEndpointInput
impl PartialEq for CreateVpcEndpointInput
source§fn eq(&self, other: &CreateVpcEndpointInput) -> bool
fn eq(&self, other: &CreateVpcEndpointInput) -> bool
self
and other
values to be equal, and is used
by ==
.