Struct aws_sdk_redshift::operation::authorize_endpoint_access::builders::AuthorizeEndpointAccessFluentBuilder
source · pub struct AuthorizeEndpointAccessFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AuthorizeEndpointAccess
.
Grants access to a cluster.
Implementations§
source§impl AuthorizeEndpointAccessFluentBuilder
impl AuthorizeEndpointAccessFluentBuilder
sourcepub fn as_input(&self) -> &AuthorizeEndpointAccessInputBuilder
pub fn as_input(&self) -> &AuthorizeEndpointAccessInputBuilder
Access the AuthorizeEndpointAccess as a reference.
sourcepub async fn send(
self
) -> Result<AuthorizeEndpointAccessOutput, SdkError<AuthorizeEndpointAccessError, HttpResponse>>
pub async fn send( self ) -> Result<AuthorizeEndpointAccessOutput, SdkError<AuthorizeEndpointAccessError, 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 fn customize(
self
) -> CustomizableOperation<AuthorizeEndpointAccessOutput, AuthorizeEndpointAccessError, Self>
pub fn customize( self ) -> CustomizableOperation<AuthorizeEndpointAccessOutput, AuthorizeEndpointAccessError, Self>
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 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.
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 VpcIds
.
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.
Trait Implementations§
source§impl Clone for AuthorizeEndpointAccessFluentBuilder
impl Clone for AuthorizeEndpointAccessFluentBuilder
source§fn clone(&self) -> AuthorizeEndpointAccessFluentBuilder
fn clone(&self) -> AuthorizeEndpointAccessFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more