Struct aws_sdk_redshift::operation::get_cluster_credentials_with_iam::builders::GetClusterCredentialsWithIamInputBuilder
source · #[non_exhaustive]pub struct GetClusterCredentialsWithIamInputBuilder { /* private fields */ }
Expand description
A builder for GetClusterCredentialsWithIamInput
.
Implementations§
source§impl GetClusterCredentialsWithIamInputBuilder
impl GetClusterCredentialsWithIamInputBuilder
sourcepub fn db_name(self, input: impl Into<String>) -> Self
pub fn db_name(self, input: impl Into<String>) -> Self
The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource dbname
for the specified database name. If the database name is not specified, access to all databases is allowed.
sourcepub fn set_db_name(self, input: Option<String>) -> Self
pub fn set_db_name(self, input: Option<String>) -> Self
The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource dbname
for the specified database name. If the database name is not specified, access to all databases is allowed.
sourcepub fn get_db_name(&self) -> &Option<String>
pub fn get_db_name(&self) -> &Option<String>
The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource dbname
for the specified database name. If the database name is not specified, access to all databases is allowed.
sourcepub fn cluster_identifier(self, input: impl Into<String>) -> Self
pub fn cluster_identifier(self, input: impl Into<String>) -> Self
The unique identifier of the cluster that contains the database for which you are requesting credentials.
sourcepub fn set_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_cluster_identifier(self, input: Option<String>) -> Self
The unique identifier of the cluster that contains the database for which you are requesting credentials.
sourcepub fn get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
The unique identifier of the cluster that contains the database for which you are requesting credentials.
sourcepub fn duration_seconds(self, input: i32) -> Self
pub fn duration_seconds(self, input: i32) -> Self
The number of seconds until the returned temporary password expires.
Range: 900-3600. Default: 900.
sourcepub fn set_duration_seconds(self, input: Option<i32>) -> Self
pub fn set_duration_seconds(self, input: Option<i32>) -> Self
The number of seconds until the returned temporary password expires.
Range: 900-3600. Default: 900.
sourcepub fn get_duration_seconds(&self) -> &Option<i32>
pub fn get_duration_seconds(&self) -> &Option<i32>
The number of seconds until the returned temporary password expires.
Range: 900-3600. Default: 900.
sourcepub fn custom_domain_name(self, input: impl Into<String>) -> Self
pub fn custom_domain_name(self, input: impl Into<String>) -> Self
The custom domain name for the IAM message cluster credentials.
sourcepub fn set_custom_domain_name(self, input: Option<String>) -> Self
pub fn set_custom_domain_name(self, input: Option<String>) -> Self
The custom domain name for the IAM message cluster credentials.
sourcepub fn get_custom_domain_name(&self) -> &Option<String>
pub fn get_custom_domain_name(&self) -> &Option<String>
The custom domain name for the IAM message cluster credentials.
sourcepub fn build(self) -> Result<GetClusterCredentialsWithIamInput, BuildError>
pub fn build(self) -> Result<GetClusterCredentialsWithIamInput, BuildError>
Consumes the builder and constructs a GetClusterCredentialsWithIamInput
.
source§impl GetClusterCredentialsWithIamInputBuilder
impl GetClusterCredentialsWithIamInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetClusterCredentialsWithIamOutput, SdkError<GetClusterCredentialsWithIAMError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetClusterCredentialsWithIamOutput, SdkError<GetClusterCredentialsWithIAMError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetClusterCredentialsWithIamInputBuilder
impl Clone for GetClusterCredentialsWithIamInputBuilder
source§fn clone(&self) -> GetClusterCredentialsWithIamInputBuilder
fn clone(&self) -> GetClusterCredentialsWithIamInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetClusterCredentialsWithIamInputBuilder
impl Default for GetClusterCredentialsWithIamInputBuilder
source§fn default() -> GetClusterCredentialsWithIamInputBuilder
fn default() -> GetClusterCredentialsWithIamInputBuilder
source§impl PartialEq for GetClusterCredentialsWithIamInputBuilder
impl PartialEq for GetClusterCredentialsWithIamInputBuilder
source§fn eq(&self, other: &GetClusterCredentialsWithIamInputBuilder) -> bool
fn eq(&self, other: &GetClusterCredentialsWithIamInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.