Class GetClusterCredentialsWithIamResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.redshift.model.RedshiftResponse
-
- software.amazon.awssdk.services.redshift.model.GetClusterCredentialsWithIamResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetClusterCredentialsWithIamResponse.Builder,GetClusterCredentialsWithIamResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetClusterCredentialsWithIamResponse extends RedshiftResponse implements ToCopyableBuilder<GetClusterCredentialsWithIamResponse.Builder,GetClusterCredentialsWithIamResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetClusterCredentialsWithIamResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetClusterCredentialsWithIamResponse.Builderbuilder()StringdbPassword()A temporary password that you provide when you connect to a database.StringdbUser()A database user name that you provide when you connect to a database.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Instantexpiration()The time (UTC) when the temporary password expires.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantnextRefreshTime()Reserved for future use.List<SdkField<?>>sdkFields()static Class<? extends GetClusterCredentialsWithIamResponse.Builder>serializableBuilderClass()GetClusterCredentialsWithIamResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.redshift.model.RedshiftResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
dbUser
public final String dbUser()
A database user name that you provide when you connect to a database. The database user is mapped 1:1 to the source IAM identity.
- Returns:
- A database user name that you provide when you connect to a database. The database user is mapped 1:1 to the source IAM identity.
-
dbPassword
public final String dbPassword()
A temporary password that you provide when you connect to a database.
- Returns:
- A temporary password that you provide when you connect to a database.
-
expiration
public final Instant expiration()
The time (UTC) when the temporary password expires. After this timestamp, a log in with the temporary password fails.
- Returns:
- The time (UTC) when the temporary password expires. After this timestamp, a log in with the temporary password fails.
-
nextRefreshTime
public final Instant nextRefreshTime()
Reserved for future use.
- Returns:
- Reserved for future use.
-
toBuilder
public GetClusterCredentialsWithIamResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetClusterCredentialsWithIamResponse.Builder,GetClusterCredentialsWithIamResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetClusterCredentialsWithIamResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetClusterCredentialsWithIamResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-