@Generated(value="software.amazon.awssdk:codegen") public final class GetClusterCredentialsResponse extends RedshiftResponse implements ToCopyableBuilder<GetClusterCredentialsResponse.Builder,GetClusterCredentialsResponse>
Temporary credentials with authorization to log on to an Amazon Redshift database.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetClusterCredentialsResponse.Builder |
| Modifier and Type | Method and 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) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
expiration()
The date and time the password in
DbPassword expires. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetClusterCredentialsResponse.Builder> |
serializableBuilderClass() |
GetClusterCredentialsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
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.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 Instant expiration()
The date and time the password in DbPassword expires.
DbPassword expires.public GetClusterCredentialsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetClusterCredentialsResponse.Builder,GetClusterCredentialsResponse>toBuilder in class AwsResponsepublic static GetClusterCredentialsResponse.Builder builder()
public static Class<? extends GetClusterCredentialsResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.