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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCredentialsResponse.BuilderdbPassword(String dbPassword)A temporary password that authorizes the user name returned byDbUserto log on to the databaseDbName.GetCredentialsResponse.BuilderdbUser(String dbUser)A database user name that is authorized to log on to the databaseDbNameusing the passwordDbPassword.GetCredentialsResponse.Builderexpiration(Instant expiration)The date and time the password inDbPasswordexpires.GetCredentialsResponse.BuildernextRefreshTime(Instant nextRefreshTime)The date and time of when theDbUserandDbPasswordauthorization 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 Detail
-
dbPassword
GetCredentialsResponse.Builder dbPassword(String 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
GetCredentialsResponse.Builder dbUser(String 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
GetCredentialsResponse.Builder expiration(Instant 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
GetCredentialsResponse.Builder nextRefreshTime(Instant 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.
-
-