Struct aws_sdk_elasticsearch::operation::authorize_vpc_endpoint_access::builders::AuthorizeVpcEndpointAccessInputBuilder
source · #[non_exhaustive]pub struct AuthorizeVpcEndpointAccessInputBuilder { /* private fields */ }
Expand description
A builder for AuthorizeVpcEndpointAccessInput
.
Implementations§
source§impl AuthorizeVpcEndpointAccessInputBuilder
impl AuthorizeVpcEndpointAccessInputBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The name of the OpenSearch Service domain to provide access to.
This field is required.sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The name of the OpenSearch Service domain to provide access to.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of the OpenSearch Service domain to provide access to.
sourcepub fn account(self, input: impl Into<String>) -> Self
pub fn account(self, input: impl Into<String>) -> Self
The account ID to grant access to.
This field is required.sourcepub fn set_account(self, input: Option<String>) -> Self
pub fn set_account(self, input: Option<String>) -> Self
The account ID to grant access to.
sourcepub fn get_account(&self) -> &Option<String>
pub fn get_account(&self) -> &Option<String>
The account ID to grant access to.
sourcepub fn build(self) -> Result<AuthorizeVpcEndpointAccessInput, BuildError>
pub fn build(self) -> Result<AuthorizeVpcEndpointAccessInput, BuildError>
Consumes the builder and constructs a AuthorizeVpcEndpointAccessInput
.
source§impl AuthorizeVpcEndpointAccessInputBuilder
impl AuthorizeVpcEndpointAccessInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AuthorizeVpcEndpointAccessOutput, SdkError<AuthorizeVpcEndpointAccessError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AuthorizeVpcEndpointAccessOutput, SdkError<AuthorizeVpcEndpointAccessError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AuthorizeVpcEndpointAccessInputBuilder
impl Clone for AuthorizeVpcEndpointAccessInputBuilder
source§fn clone(&self) -> AuthorizeVpcEndpointAccessInputBuilder
fn clone(&self) -> AuthorizeVpcEndpointAccessInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AuthorizeVpcEndpointAccessInputBuilder
impl Default for AuthorizeVpcEndpointAccessInputBuilder
source§fn default() -> AuthorizeVpcEndpointAccessInputBuilder
fn default() -> AuthorizeVpcEndpointAccessInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AuthorizeVpcEndpointAccessInputBuilder
impl PartialEq for AuthorizeVpcEndpointAccessInputBuilder
source§fn eq(&self, other: &AuthorizeVpcEndpointAccessInputBuilder) -> bool
fn eq(&self, other: &AuthorizeVpcEndpointAccessInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuthorizeVpcEndpointAccessInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AuthorizeVpcEndpointAccessInputBuilder
impl Send for AuthorizeVpcEndpointAccessInputBuilder
impl Sync for AuthorizeVpcEndpointAccessInputBuilder
impl Unpin for AuthorizeVpcEndpointAccessInputBuilder
impl UnwindSafe for AuthorizeVpcEndpointAccessInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.