Struct aws_sdk_elasticsearch::operation::revoke_vpc_endpoint_access::builders::RevokeVpcEndpointAccessInputBuilder
source · #[non_exhaustive]pub struct RevokeVpcEndpointAccessInputBuilder { /* private fields */ }
Expand description
A builder for RevokeVpcEndpointAccessInput
.
Implementations§
source§impl RevokeVpcEndpointAccessInputBuilder
impl RevokeVpcEndpointAccessInputBuilder
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.
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.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of the OpenSearch Service domain.
sourcepub fn account(self, input: impl Into<String>) -> Self
pub fn account(self, input: impl Into<String>) -> Self
The account ID to revoke access from.
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 revoke access from.
sourcepub fn get_account(&self) -> &Option<String>
pub fn get_account(&self) -> &Option<String>
The account ID to revoke access from.
sourcepub fn build(self) -> Result<RevokeVpcEndpointAccessInput, BuildError>
pub fn build(self) -> Result<RevokeVpcEndpointAccessInput, BuildError>
Consumes the builder and constructs a RevokeVpcEndpointAccessInput
.
source§impl RevokeVpcEndpointAccessInputBuilder
impl RevokeVpcEndpointAccessInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RevokeVpcEndpointAccessOutput, SdkError<RevokeVpcEndpointAccessError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RevokeVpcEndpointAccessOutput, SdkError<RevokeVpcEndpointAccessError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RevokeVpcEndpointAccessInputBuilder
impl Clone for RevokeVpcEndpointAccessInputBuilder
source§fn clone(&self) -> RevokeVpcEndpointAccessInputBuilder
fn clone(&self) -> RevokeVpcEndpointAccessInputBuilder
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 RevokeVpcEndpointAccessInputBuilder
impl Default for RevokeVpcEndpointAccessInputBuilder
source§fn default() -> RevokeVpcEndpointAccessInputBuilder
fn default() -> RevokeVpcEndpointAccessInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RevokeVpcEndpointAccessInputBuilder
impl PartialEq for RevokeVpcEndpointAccessInputBuilder
source§fn eq(&self, other: &RevokeVpcEndpointAccessInputBuilder) -> bool
fn eq(&self, other: &RevokeVpcEndpointAccessInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RevokeVpcEndpointAccessInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RevokeVpcEndpointAccessInputBuilder
impl Send for RevokeVpcEndpointAccessInputBuilder
impl Sync for RevokeVpcEndpointAccessInputBuilder
impl Unpin for RevokeVpcEndpointAccessInputBuilder
impl UnwindSafe for RevokeVpcEndpointAccessInputBuilder
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.