Struct aws_sdk_redshift::operation::revoke_endpoint_access::builders::RevokeEndpointAccessFluentBuilder
source · pub struct RevokeEndpointAccessFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to RevokeEndpointAccess
.
Revokes access to a cluster.
Implementations§
source§impl RevokeEndpointAccessFluentBuilder
impl RevokeEndpointAccessFluentBuilder
sourcepub fn as_input(&self) -> &RevokeEndpointAccessInputBuilder
pub fn as_input(&self) -> &RevokeEndpointAccessInputBuilder
Access the RevokeEndpointAccess as a reference.
sourcepub async fn send(
self
) -> Result<RevokeEndpointAccessOutput, SdkError<RevokeEndpointAccessError, HttpResponse>>
pub async fn send( self ) -> Result<RevokeEndpointAccessOutput, SdkError<RevokeEndpointAccessError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<RevokeEndpointAccessOutput, RevokeEndpointAccessError>, SdkError<RevokeEndpointAccessError>>
pub async fn customize( self ) -> Result<CustomizableOperation<RevokeEndpointAccessOutput, RevokeEndpointAccessError>, SdkError<RevokeEndpointAccessError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 VpcIds
.
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.
Trait Implementations§
source§impl Clone for RevokeEndpointAccessFluentBuilder
impl Clone for RevokeEndpointAccessFluentBuilder
source§fn clone(&self) -> RevokeEndpointAccessFluentBuilder
fn clone(&self) -> RevokeEndpointAccessFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more