Interface GetCredentialsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetCredentialsRequest.Builder,GetCredentialsRequest>,RedshiftServerlessRequest.Builder,SdkBuilder<GetCredentialsRequest.Builder,GetCredentialsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetCredentialsRequest
public static interface GetCredentialsRequest.Builder extends RedshiftServerlessRequest.Builder, SdkPojo, CopyableBuilder<GetCredentialsRequest.Builder,GetCredentialsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCredentialsRequest.BuildercustomDomainName(String customDomainName)The custom domain name associated with the workgroup.GetCredentialsRequest.BuilderdbName(String dbName)The name of the database to get temporary authorization to log on to.GetCredentialsRequest.BuilderdurationSeconds(Integer durationSeconds)The number of seconds until the returned temporary password expires.GetCredentialsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetCredentialsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetCredentialsRequest.BuilderworkgroupName(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, sdkFields
-
-
-
-
Method Detail
-
customDomainName
GetCredentialsRequest.Builder customDomainName(String 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
GetCredentialsRequest.Builder dbName(String 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
GetCredentialsRequest.Builder durationSeconds(Integer 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
GetCredentialsRequest.Builder workgroupName(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetCredentialsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-