Class ClusterIamRole
- java.lang.Object
-
- software.amazon.awssdk.services.redshift.model.ClusterIamRole
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ClusterIamRole.Builder,ClusterIamRole>
@Generated("software.amazon.awssdk:codegen") public final class ClusterIamRole extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClusterIamRole.Builder,ClusterIamRole>
An Identity and Access Management (IAM) role that can be used by the associated Amazon Redshift cluster to access other Amazon Web Services services.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceClusterIamRole.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplyStatus()A value that describes the status of the IAM role's association with an Amazon Redshift cluster.static ClusterIamRole.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringiamRoleArn()The Amazon Resource Name (ARN) of the IAM role, for example,arn:aws:iam::123456789012:role/RedshiftCopyUnload.List<SdkField<?>>sdkFields()static Class<? extends ClusterIamRole.Builder>serializableBuilderClass()ClusterIamRole.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
iamRoleArn
public final String iamRoleArn()
The Amazon Resource Name (ARN) of the IAM role, for example,
arn:aws:iam::123456789012:role/RedshiftCopyUnload.- Returns:
- The Amazon Resource Name (ARN) of the IAM role, for example,
arn:aws:iam::123456789012:role/RedshiftCopyUnload.
-
applyStatus
public final String applyStatus()
A value that describes the status of the IAM role's association with an Amazon Redshift cluster.
The following are possible statuses and descriptions.
-
in-sync: The role is available for use by the cluster. -
adding: The role is in the process of being associated with the cluster. -
removing: The role is in the process of being disassociated with the cluster.
- Returns:
- A value that describes the status of the IAM role's association with an Amazon Redshift cluster.
The following are possible statuses and descriptions.
-
in-sync: The role is available for use by the cluster. -
adding: The role is in the process of being associated with the cluster. -
removing: The role is in the process of being disassociated with the cluster.
-
-
-
toBuilder
public ClusterIamRole.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ClusterIamRole.Builder,ClusterIamRole>
-
builder
public static ClusterIamRole.Builder builder()
-
serializableBuilderClass
public static Class<? extends ClusterIamRole.Builder> serializableBuilderClass()
-
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.
-
-