@Generated(value="software.amazon.awssdk:codegen") public final class GetCredentialsRequest extends RedshiftServerlessRequest implements ToCopyableBuilder<GetCredentialsRequest.Builder,GetCredentialsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetCredentialsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetCredentialsRequest.Builder |
builder() |
String |
dbName()
The name of the database to get temporary authorization to log on to.
|
Integer |
durationSeconds()
The number of seconds until the returned temporary password expires.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetCredentialsRequest.Builder> |
serializableBuilderClass() |
GetCredentialsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
workgroupName()
The name of the workgroup associated with the database.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String dbName()
The name of the database to get temporary authorization to log on to.
Constraints:
Must be 1 to 64 alphanumeric characters or hyphens.
Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
The first character must be a letter.
Must not contain a colon ( : ) or slash ( / ).
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide
Constraints:
Must be 1 to 64 alphanumeric characters or hyphens.
Must contain only lowercase letters, numbers, underscore, plus sign, period (dot), at symbol (@), or hyphen.
The first character must be a letter.
Must not contain a colon ( : ) or slash ( / ).
Cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide
public final Integer durationSeconds()
The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the maximum is 3600 seconds.
public final String workgroupName()
The name of the workgroup associated with the database.
public GetCredentialsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetCredentialsRequest.Builder,GetCredentialsRequest>toBuilder in class RedshiftServerlessRequestpublic static GetCredentialsRequest.Builder builder()
public static Class<? extends GetCredentialsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic 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 SdkRequestCopyright © 2022. All rights reserved.