Interface GetCredentialsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetCredentialsRequest.Builder,,GetCredentialsRequest> RedshiftServerlessRequest.Builder,SdkBuilder<GetCredentialsRequest.Builder,,GetCredentialsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetCredentialsRequest
-
Method Summary
Modifier and TypeMethodDescriptioncustomDomainName(String customDomainName) The custom domain name associated with the workgroup.The name of the database to get temporary authorization to log on to.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.workgroupName(String workgroupName) The name of the workgroup associated with the database.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.redshiftserverless.model.RedshiftServerlessRequest.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
-
customDomainName
The custom domain name associated with the workgroup. The custom domain name or the workgroup name must be included in the request.
- Parameters:
customDomainName- The custom domain name associated with the workgroup. The custom domain name or the workgroup name must be included in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbName
The name of the database to get temporary authorization to log on to.
Constraints:
-
Must be 1 to 64 alphanumeric characters or hyphens.
-
Must contain only uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
-
The first character must be a letter.
-
Must not contain a colon ( : ) or slash ( / ).
-
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide
- Parameters:
dbName- The name of the database to get temporary authorization to log on to.Constraints:
-
Must be 1 to 64 alphanumeric characters or hyphens.
-
Must contain only uppercase or lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
-
The first character must be a letter.
-
Must not contain a colon ( : ) or slash ( / ).
-
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide
-
- 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. The minimum is 900 seconds, and the maximum is 3600 seconds.
- Parameters:
durationSeconds- The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the maximum is 3600 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workgroupName
The name of the workgroup associated with the database.
- Parameters:
workgroupName- The name of the workgroup associated with the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetCredentialsRequest.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
GetCredentialsRequest.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.
-