Struct aws_sdk_redshift::operation::revoke_endpoint_access::builders::RevokeEndpointAccessInputBuilder
source · #[non_exhaustive]pub struct RevokeEndpointAccessInputBuilder { /* private fields */ }
Expand description
A builder for RevokeEndpointAccessInput
.
Implementations§
source§impl RevokeEndpointAccessInputBuilder
impl RevokeEndpointAccessInputBuilder
sourcepub fn cluster_identifier(self, input: impl Into<String>) -> Self
pub fn cluster_identifier(self, input: impl Into<String>) -> Self
The cluster to revoke access from.
sourcepub fn set_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_cluster_identifier(self, input: Option<String>) -> Self
The cluster to revoke access from.
sourcepub fn get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
The cluster to revoke access from.
sourcepub fn account(self, input: impl Into<String>) -> Self
pub fn account(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID whose access is to be revoked.
sourcepub fn set_account(self, input: Option<String>) -> Self
pub fn set_account(self, input: Option<String>) -> Self
The Amazon Web Services account ID whose access is to be revoked.
sourcepub fn get_account(&self) -> &Option<String>
pub fn get_account(&self) -> &Option<String>
The Amazon Web Services account ID whose access is to be revoked.
sourcepub fn vpc_ids(self, input: impl Into<String>) -> Self
pub fn vpc_ids(self, input: impl Into<String>) -> Self
Appends an item to vpc_ids
.
To override the contents of this collection use set_vpc_ids
.
The virtual private cloud (VPC) identifiers for which access is to be revoked.
sourcepub fn set_vpc_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_vpc_ids(self, input: Option<Vec<String>>) -> Self
The virtual private cloud (VPC) identifiers for which access is to be revoked.
sourcepub fn get_vpc_ids(&self) -> &Option<Vec<String>>
pub fn get_vpc_ids(&self) -> &Option<Vec<String>>
The virtual private cloud (VPC) identifiers for which access is to be revoked.
sourcepub fn force(self, input: bool) -> Self
pub fn force(self, input: bool) -> Self
Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
sourcepub fn set_force(self, input: Option<bool>) -> Self
pub fn set_force(self, input: Option<bool>) -> Self
Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
sourcepub fn get_force(&self) -> &Option<bool>
pub fn get_force(&self) -> &Option<bool>
Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
sourcepub fn build(self) -> Result<RevokeEndpointAccessInput, BuildError>
pub fn build(self) -> Result<RevokeEndpointAccessInput, BuildError>
Consumes the builder and constructs a RevokeEndpointAccessInput
.
source§impl RevokeEndpointAccessInputBuilder
impl RevokeEndpointAccessInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<RevokeEndpointAccessOutput, SdkError<RevokeEndpointAccessError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<RevokeEndpointAccessOutput, SdkError<RevokeEndpointAccessError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RevokeEndpointAccessInputBuilder
impl Clone for RevokeEndpointAccessInputBuilder
source§fn clone(&self) -> RevokeEndpointAccessInputBuilder
fn clone(&self) -> RevokeEndpointAccessInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RevokeEndpointAccessInputBuilder
impl Default for RevokeEndpointAccessInputBuilder
source§fn default() -> RevokeEndpointAccessInputBuilder
fn default() -> RevokeEndpointAccessInputBuilder
source§impl PartialEq for RevokeEndpointAccessInputBuilder
impl PartialEq for RevokeEndpointAccessInputBuilder
source§fn eq(&self, other: &RevokeEndpointAccessInputBuilder) -> bool
fn eq(&self, other: &RevokeEndpointAccessInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RevokeEndpointAccessInputBuilder
Auto Trait Implementations§
impl Freeze for RevokeEndpointAccessInputBuilder
impl RefUnwindSafe for RevokeEndpointAccessInputBuilder
impl Send for RevokeEndpointAccessInputBuilder
impl Sync for RevokeEndpointAccessInputBuilder
impl Unpin for RevokeEndpointAccessInputBuilder
impl UnwindSafe for RevokeEndpointAccessInputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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