Class GetCredentialsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessRequest
-
- software.amazon.awssdk.services.redshiftserverless.model.GetCredentialsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetCredentialsRequest.Builder,GetCredentialsRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetCredentialsRequest extends RedshiftServerlessRequest implements ToCopyableBuilder<GetCredentialsRequest.Builder,GetCredentialsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetCredentialsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetCredentialsRequest.Builderbuilder()StringcustomDomainName()The custom domain name associated with the workgroup.StringdbName()The name of the database to get temporary authorization to log on to.IntegerdurationSeconds()The number of seconds until the returned temporary password expires.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends GetCredentialsRequest.Builder>serializableBuilderClass()GetCredentialsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkgroupName()The name of the workgroup associated with the database.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
customDomainName
public final String customDomainName()
The custom domain name associated with the workgroup. The custom domain name or the workgroup name must be included in the request.
- Returns:
- The custom domain name associated with the workgroup. The custom domain name or the workgroup name must be included in the request.
-
dbName
public 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 uppercase or 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
- Returns:
- 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 uppercase or 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
-
-
-
durationSeconds
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.
- Returns:
- The number of seconds until the returned temporary password expires. The minimum is 900 seconds, and the maximum is 3600 seconds.
-
workgroupName
public final String workgroupName()
The name of the workgroup associated with the database.
- Returns:
- The name of the workgroup associated with the database.
-
toBuilder
public GetCredentialsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetCredentialsRequest.Builder,GetCredentialsRequest>- Specified by:
toBuilderin classRedshiftServerlessRequest
-
builder
public static GetCredentialsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetCredentialsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-