Interface GetCredentialsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCredentialsResponse.Builder,
,GetCredentialsResponse> RedshiftServerlessResponse.Builder
,SdkBuilder<GetCredentialsResponse.Builder,
,GetCredentialsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCredentialsResponse
public static interface GetCredentialsResponse.Builder
extends RedshiftServerlessResponse.Builder, SdkPojo, CopyableBuilder<GetCredentialsResponse.Builder,GetCredentialsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbPassword
(String dbPassword) A temporary password that authorizes the user name returned byDbUser
to log on to the databaseDbName
.A database user name that is authorized to log on to the databaseDbName
using the passwordDbPassword
.expiration
(Instant expiration) The date and time the password inDbPassword
expires.nextRefreshTime
(Instant nextRefreshTime) The date and time of when theDbUser
andDbPassword
authorization refreshes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
dbPassword
A temporary password that authorizes the user name returned by
DbUser
to log on to the databaseDbName
.- Parameters:
dbPassword
- A temporary password that authorizes the user name returned byDbUser
to log on to the databaseDbName
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbUser
A database user name that is authorized to log on to the database
DbName
using the passwordDbPassword
. If the specifiedDbUser
exists in the database, the new user name has the same database privileges as the the user named inDbUser
. By default, the user is added to PUBLIC.- Parameters:
dbUser
- A database user name that is authorized to log on to the databaseDbName
using the passwordDbPassword
. If the specifiedDbUser
exists in the database, the new user name has the same database privileges as the the user named inDbUser
. By default, the user is added to PUBLIC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiration
The date and time the password in
DbPassword
expires.- Parameters:
expiration
- The date and time the password inDbPassword
expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextRefreshTime
The date and time of when the
DbUser
andDbPassword
authorization refreshes.- Parameters:
nextRefreshTime
- The date and time of when theDbUser
andDbPassword
authorization refreshes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-