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 interface
GetClusterCredentialsWithIamRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetClusterCredentialsWithIamRequest.Builder
builder()
String
clusterIdentifier()
The unique identifier of the cluster that contains the database for which you are requesting credentials.String
customDomainName()
The custom domain name for the IAM message cluster credentials.String
dbName()
The name of the database for which you are requesting credentials.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 GetClusterCredentialsWithIamRequest.Builder>
serializableBuilderClass()
GetClusterCredentialsWithIamRequest.Builder
toBuilder()
String
toString()
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
dbname
for 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
dbname
for 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:
toBuilder
in interfaceToCopyableBuilder<GetClusterCredentialsWithIamRequest.Builder,GetClusterCredentialsWithIamRequest>
- Specified by:
toBuilder
in classRedshiftRequest
-
builder
public static GetClusterCredentialsWithIamRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetClusterCredentialsWithIamRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
-