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 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 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 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 build(self) -> Result<RevokeEndpointAccessInput, BuildError>
pub fn build(self) -> Result<RevokeEndpointAccessInput, BuildError>
Consumes the builder and constructs a RevokeEndpointAccessInput
.
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<RevokeEndpointAccessInputBuilder> for RevokeEndpointAccessInputBuilder
impl PartialEq<RevokeEndpointAccessInputBuilder> 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 ==
.