Struct aws_sdk_elasticsearch::operation::create_vpc_endpoint::builders::CreateVpcEndpointInputBuilder
source · #[non_exhaustive]pub struct CreateVpcEndpointInputBuilder { /* private fields */ }
Expand description
A builder for CreateVpcEndpointInput
.
Implementations§
source§impl CreateVpcEndpointInputBuilder
impl CreateVpcEndpointInputBuilder
sourcepub fn domain_arn(self, input: impl Into<String>) -> Self
pub fn domain_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the domain to grant access to.
This field is required.sourcepub fn set_domain_arn(self, input: Option<String>) -> Self
pub fn set_domain_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the domain to grant access to.
sourcepub fn get_domain_arn(&self) -> &Option<String>
pub fn get_domain_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the domain to grant access to.
sourcepub fn vpc_options(self, input: VpcOptions) -> Self
pub fn vpc_options(self, input: VpcOptions) -> Self
Options to specify the subnets and security groups for the endpoint.
This field is required.sourcepub fn set_vpc_options(self, input: Option<VpcOptions>) -> Self
pub fn set_vpc_options(self, input: Option<VpcOptions>) -> Self
Options to specify the subnets and security groups for the endpoint.
sourcepub fn get_vpc_options(&self) -> &Option<VpcOptions>
pub fn get_vpc_options(&self) -> &Option<VpcOptions>
Options to specify the subnets and security groups for the endpoint.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier to ensure idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier to ensure idempotency of the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier to ensure idempotency of the request.
sourcepub fn build(self) -> Result<CreateVpcEndpointInput, BuildError>
pub fn build(self) -> Result<CreateVpcEndpointInput, BuildError>
Consumes the builder and constructs a CreateVpcEndpointInput
.
source§impl CreateVpcEndpointInputBuilder
impl CreateVpcEndpointInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateVpcEndpointOutput, SdkError<CreateVpcEndpointError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateVpcEndpointOutput, SdkError<CreateVpcEndpointError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateVpcEndpointInputBuilder
impl Clone for CreateVpcEndpointInputBuilder
source§fn clone(&self) -> CreateVpcEndpointInputBuilder
fn clone(&self) -> CreateVpcEndpointInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateVpcEndpointInputBuilder
impl Default for CreateVpcEndpointInputBuilder
source§fn default() -> CreateVpcEndpointInputBuilder
fn default() -> CreateVpcEndpointInputBuilder
source§impl PartialEq for CreateVpcEndpointInputBuilder
impl PartialEq for CreateVpcEndpointInputBuilder
source§fn eq(&self, other: &CreateVpcEndpointInputBuilder) -> bool
fn eq(&self, other: &CreateVpcEndpointInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.