public static interface GetClusterCredentialsResponse.Builder extends RedshiftResponse.Builder, CopyableBuilder<GetClusterCredentialsResponse.Builder,GetClusterCredentialsResponse>
Modifier and Type | Method and Description |
---|---|
GetClusterCredentialsResponse.Builder |
dbPassword(String dbPassword)
A temporary password that authorizes the user name returned by
DbUser to log on to the database
DbName . |
GetClusterCredentialsResponse.Builder |
dbUser(String dbUser)
A database user name that is authorized to log on to the database
DbName using the password
DbPassword . |
GetClusterCredentialsResponse.Builder |
expiration(Instant expiration)
The date and time the password in
DbPassword expires. |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetClusterCredentialsResponse.Builder dbUser(String dbUser)
A database user name that is authorized to log on to the database DbName
using the password
DbPassword
. If the specified DbUser exists in the database, the new user name has the same
database privileges as the the user named in DbUser. By default, the user is added to PUBLIC. If the
DbGroups
parameter is specifed, DbUser
is added to the listed groups for any
sessions created using these credentials.
dbUser
- A database user name that is authorized to log on to the database DbName
using the
password DbPassword
. If the specified DbUser exists in the database, the new user name
has the same database privileges as the the user named in DbUser. By default, the user is added to
PUBLIC. If the DbGroups
parameter is specifed, DbUser
is added to the listed
groups for any sessions created using these credentials.GetClusterCredentialsResponse.Builder dbPassword(String dbPassword)
A temporary password that authorizes the user name returned by DbUser
to log on to the database
DbName
.
dbPassword
- A temporary password that authorizes the user name returned by DbUser
to log on to the
database DbName
.GetClusterCredentialsResponse.Builder expiration(Instant expiration)
The date and time the password in DbPassword
expires.
expiration
- The date and time the password in DbPassword
expires.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.