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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
dbnamefor 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 resourcedbnamefor 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-