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