Class GetClusterCredentialsWithIamRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.redshift.model.RedshiftRequest
-
- software.amazon.awssdk.services.redshift.model.GetClusterCredentialsWithIamRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetClusterCredentialsWithIamRequest.Builder,GetClusterCredentialsWithIamRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetClusterCredentialsWithIamRequest extends RedshiftRequest implements ToCopyableBuilder<GetClusterCredentialsWithIamRequest.Builder,GetClusterCredentialsWithIamRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetClusterCredentialsWithIamRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetClusterCredentialsWithIamRequest.Builderbuilder()StringclusterIdentifier()The unique identifier of the cluster that contains the database for which you are requesting credentials.StringcustomDomainName()The custom domain name for the IAM message cluster credentials.StringdbName()The name of the database for which you are requesting credentials.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 GetClusterCredentialsWithIamRequest.Builder>serializableBuilderClass()GetClusterCredentialsWithIamRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
dbName
public final String dbName()
The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource
dbnamefor the specified database name. If the database name is not specified, access to all databases is allowed.- Returns:
- The name of the database for which you are requesting credentials. If the database name is specified, the
IAM policy must allow access to the resource
dbnamefor the specified database name. If the database name is not specified, access to all databases is allowed.
-
clusterIdentifier
public final String clusterIdentifier()
The unique identifier of the cluster that contains the database for which you are requesting credentials.
- Returns:
- The unique identifier of the cluster that contains the database for which you are requesting credentials.
-
durationSeconds
public final Integer durationSeconds()
The number of seconds until the returned temporary password expires.
Range: 900-3600. Default: 900.
- Returns:
- The number of seconds until the returned temporary password expires.
Range: 900-3600. Default: 900.
-
customDomainName
public final String customDomainName()
The custom domain name for the IAM message cluster credentials.
- Returns:
- The custom domain name for the IAM message cluster credentials.
-
toBuilder
public GetClusterCredentialsWithIamRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetClusterCredentialsWithIamRequest.Builder,GetClusterCredentialsWithIamRequest>- Specified by:
toBuilderin classRedshiftRequest
-
builder
public static GetClusterCredentialsWithIamRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetClusterCredentialsWithIamRequest.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
-
-