Interface GetCredentialsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCredentialsResponse.Builder,,GetCredentialsResponse> RedshiftServerlessResponse.Builder,SdkBuilder<GetCredentialsResponse.Builder,,GetCredentialsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetCredentialsResponse
@Mutable
@NotThreadSafe
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 byDbUserto log on to the databaseDbName.A database user name that is authorized to log on to the databaseDbNameusing the passwordDbPassword.expiration(Instant expiration) The date and time the password inDbPasswordexpires.nextRefreshTime(Instant nextRefreshTime) The date and time of when theDbUserandDbPasswordauthorization refreshes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
dbPassword
A temporary password that authorizes the user name returned by
DbUserto log on to the databaseDbName.- Parameters:
dbPassword- A temporary password that authorizes the user name returned byDbUserto 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
DbNameusing the passwordDbPassword. If the specifiedDbUserexists 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 databaseDbNameusing the passwordDbPassword. If the specifiedDbUserexists 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
DbPasswordexpires.- Parameters:
expiration- The date and time the password inDbPasswordexpires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextRefreshTime
The date and time of when the
DbUserandDbPasswordauthorization refreshes.- Parameters:
nextRefreshTime- The date and time of when theDbUserandDbPasswordauthorization refreshes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-