ToCopyableBuilder<GetClusterCredentialsResponse.Builder,GetClusterCredentialsResponse>
@Generated("software.amazon.awssdk:codegen") public class GetClusterCredentialsResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<GetClusterCredentialsResponse.Builder,GetClusterCredentialsResponse>
Temporary credentials with authorization to log in to an Amazon Redshift database.
Modifier and Type | Class | Description |
---|---|---|
static interface |
GetClusterCredentialsResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static GetClusterCredentialsResponse.Builder |
builder() |
|
String |
dbPassword() |
A temporary password that authorizes the user name returned by
DbUser to log on to the database
DbName . |
String |
dbUser() |
A database user name that is authorized to log on to the database
DbName using the password
DbPassword . |
boolean |
equals(Object obj) |
|
Date |
expiration() |
The date and time
DbPassword expires. |
int |
hashCode() |
|
static Class<? extends GetClusterCredentialsResponse.Builder> |
serializableBuilderClass() |
|
GetClusterCredentialsResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadata
public String dbUser()
A database user name that is authorized to log on to the database DbName
using the password
DbPassword
. If the DbGroups
parameter is specifed, DbUser
is added to the
listed groups for the current session. The user name is prefixed with IAM:
for an existing user name
or IAMA:
if the user was auto-created.
DbName
using the password
DbPassword
. If the DbGroups
parameter is specifed, DbUser
is added
to the listed groups for the current session. The user name is prefixed with IAM:
for an
existing user name or IAMA:
if the user was auto-created.public String dbPassword()
A temporary password that authorizes the user name returned by DbUser
to log on to the database
DbName
.
DbUser
to log on to the
database DbName
.public Date expiration()
The date and time DbPassword
expires.
DbPassword
expires.public GetClusterCredentialsResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetClusterCredentialsResponse.Builder,GetClusterCredentialsResponse>
public static GetClusterCredentialsResponse.Builder builder()
public static Class<? extends GetClusterCredentialsResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.