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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.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
GetCredentialsRequest.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.
-