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 ==
.impl StructuralPartialEq for CreateVpcEndpointInputBuilder
Auto Trait Implementations§
impl Freeze for CreateVpcEndpointInputBuilder
impl RefUnwindSafe for CreateVpcEndpointInputBuilder
impl Send for CreateVpcEndpointInputBuilder
impl Sync for CreateVpcEndpointInputBuilder
impl Unpin for CreateVpcEndpointInputBuilder
impl UnwindSafe for CreateVpcEndpointInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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