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 ==
.