Interface GetClusterCredentialsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetClusterCredentialsResponse.Builder,GetClusterCredentialsResponse>,RedshiftResponse.Builder,SdkBuilder<GetClusterCredentialsResponse.Builder,GetClusterCredentialsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetClusterCredentialsResponse
public static interface GetClusterCredentialsResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<GetClusterCredentialsResponse.Builder,GetClusterCredentialsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetClusterCredentialsResponse.BuilderdbPassword(String dbPassword)A temporary password that authorizes the user name returned byDbUserto log on to the databaseDbName.GetClusterCredentialsResponse.BuilderdbUser(String dbUser)A database user name that is authorized to log on to the databaseDbNameusing the passwordDbPassword.GetClusterCredentialsResponse.Builderexpiration(Instant expiration)The date and time the password inDbPasswordexpires.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.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
-
dbUser
GetClusterCredentialsResponse.Builder dbUser(String dbUser)
A database user name that is authorized to log on to the database
DbNameusing the passwordDbPassword. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If theDbGroupsparameter is specifed,DbUseris added to the listed groups for any sessions created using these credentials.- Parameters:
dbUser- A database user name that is authorized to log on to the databaseDbNameusing the passwordDbPassword. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If theDbGroupsparameter is specifed,DbUseris added to the listed groups for any sessions created using these credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbPassword
GetClusterCredentialsResponse.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.
-
expiration
GetClusterCredentialsResponse.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.
-
-