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 async fn customize(
self
) -> Result<CustomizableOperation<AuthorizeEndpointAccess, AwsResponseRetryClassifier>, SdkError<AuthorizeEndpointAccessError>>
pub async fn customize( self ) -> Result<CustomizableOperation<AuthorizeEndpointAccess, AwsResponseRetryClassifier>, SdkError<AuthorizeEndpointAccessError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<AuthorizeEndpointAccessOutput, SdkError<AuthorizeEndpointAccessError>>
pub async fn send( self ) -> Result<AuthorizeEndpointAccessOutput, SdkError<AuthorizeEndpointAccessError>>
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 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 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.
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