Struct aws_sdk_redshift::operation::authorize_endpoint_access::builders::AuthorizeEndpointAccessInputBuilder
source · #[non_exhaustive]pub struct AuthorizeEndpointAccessInputBuilder { /* private fields */ }
Expand description
A builder for AuthorizeEndpointAccessInput
.
Implementations§
source§impl AuthorizeEndpointAccessInputBuilder
impl AuthorizeEndpointAccessInputBuilder
sourcepub fn cluster_identifier(self, input: impl Into<String>) -> Self
pub fn cluster_identifier(self, input: impl Into<String>) -> Self
The cluster identifier of the cluster to grant access to.
sourcepub fn set_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_cluster_identifier(self, input: Option<String>) -> Self
The cluster identifier of the cluster to grant access to.
sourcepub fn account(self, input: impl Into<String>) -> Self
pub fn account(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID to grant access to.
sourcepub fn set_account(self, input: Option<String>) -> Self
pub fn set_account(self, input: Option<String>) -> Self
The Amazon Web Services account ID to grant access to.
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 to grant access to.
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 to grant access to.
sourcepub fn build(self) -> Result<AuthorizeEndpointAccessInput, BuildError>
pub fn build(self) -> Result<AuthorizeEndpointAccessInput, BuildError>
Consumes the builder and constructs a AuthorizeEndpointAccessInput
.
Trait Implementations§
source§impl Clone for AuthorizeEndpointAccessInputBuilder
impl Clone for AuthorizeEndpointAccessInputBuilder
source§fn clone(&self) -> AuthorizeEndpointAccessInputBuilder
fn clone(&self) -> AuthorizeEndpointAccessInputBuilder
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 AuthorizeEndpointAccessInputBuilder
impl Default for AuthorizeEndpointAccessInputBuilder
source§fn default() -> AuthorizeEndpointAccessInputBuilder
fn default() -> AuthorizeEndpointAccessInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AuthorizeEndpointAccessInputBuilder> for AuthorizeEndpointAccessInputBuilder
impl PartialEq<AuthorizeEndpointAccessInputBuilder> for AuthorizeEndpointAccessInputBuilder
source§fn eq(&self, other: &AuthorizeEndpointAccessInputBuilder) -> bool
fn eq(&self, other: &AuthorizeEndpointAccessInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuthorizeEndpointAccessInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AuthorizeEndpointAccessInputBuilder
impl Send for AuthorizeEndpointAccessInputBuilder
impl Sync for AuthorizeEndpointAccessInputBuilder
impl Unpin for AuthorizeEndpointAccessInputBuilder
impl UnwindSafe for AuthorizeEndpointAccessInputBuilder
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