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 get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
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.
This field is required.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 get_account(&self) -> &Option<String>
pub fn get_account(&self) -> &Option<String>
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 get_vpc_ids(&self) -> &Option<Vec<String>>
pub fn get_vpc_ids(&self) -> &Option<Vec<String>>
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
.
source§impl AuthorizeEndpointAccessInputBuilder
impl AuthorizeEndpointAccessInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<AuthorizeEndpointAccessOutput, SdkError<AuthorizeEndpointAccessError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<AuthorizeEndpointAccessOutput, SdkError<AuthorizeEndpointAccessError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AuthorizeEndpointAccessInputBuilder
impl Clone for AuthorizeEndpointAccessInputBuilder
source§fn clone(&self) -> AuthorizeEndpointAccessInputBuilder
fn clone(&self) -> AuthorizeEndpointAccessInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AuthorizeEndpointAccessInputBuilder
impl Default for AuthorizeEndpointAccessInputBuilder
source§fn default() -> AuthorizeEndpointAccessInputBuilder
fn default() -> AuthorizeEndpointAccessInputBuilder
source§impl PartialEq for AuthorizeEndpointAccessInputBuilder
impl PartialEq for AuthorizeEndpointAccessInputBuilder
source§fn eq(&self, other: &AuthorizeEndpointAccessInputBuilder) -> bool
fn eq(&self, other: &AuthorizeEndpointAccessInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AuthorizeEndpointAccessInputBuilder
Auto Trait Implementations§
impl Freeze for AuthorizeEndpointAccessInputBuilder
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
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