Interface GetClusterCredentialsWithIamRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetClusterCredentialsWithIamRequest.Builder,
,GetClusterCredentialsWithIamRequest> RedshiftRequest.Builder
,SdkBuilder<GetClusterCredentialsWithIamRequest.Builder,
,GetClusterCredentialsWithIamRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetClusterCredentialsWithIamRequest
public static interface GetClusterCredentialsWithIamRequest.Builder
extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<GetClusterCredentialsWithIamRequest.Builder,GetClusterCredentialsWithIamRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclusterIdentifier
(String clusterIdentifier) The unique identifier of the cluster that contains the database for which you are requesting credentials.customDomainName
(String customDomainName) The custom domain name for the IAM message cluster credentials.The name of the database for which you are requesting credentials.durationSeconds
(Integer durationSeconds) The number of seconds until the returned temporary password expires.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dbName
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.- Parameters:
dbName
- 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 resourcedbname
for the specified database name. If the database name is not specified, access to all databases is allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterIdentifier
The unique identifier of the cluster that contains the database for which you are requesting credentials.
- Parameters:
clusterIdentifier
- The unique identifier of the cluster that contains the database for which you are requesting credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationSeconds
The number of seconds until the returned temporary password expires.
Range: 900-3600. Default: 900.
- Parameters:
durationSeconds
- The number of seconds until the returned temporary password expires.Range: 900-3600. Default: 900.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDomainName
The custom domain name for the IAM message cluster credentials.
- Parameters:
customDomainName
- The custom domain name for the IAM message cluster credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetClusterCredentialsWithIamRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetClusterCredentialsWithIamRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-