@Generated(value="software.amazon.awssdk:codegen") public final class ClusterIamRole extends Object implements ToCopyableBuilder<ClusterIamRole.Builder,ClusterIamRole>
An AWS Identity and Access Management (IAM) role that can be used by the associated Amazon Redshift cluster to access other AWS services.
Modifier and Type | Class and Description |
---|---|
static interface |
ClusterIamRole.Builder |
Modifier and Type | Method and Description |
---|---|
String |
applyStatus()
A value that describes the status of the IAM role's association with an Amazon Redshift cluster.
|
static ClusterIamRole.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iamRoleArn()
The Amazon Resource Name (ARN) of the IAM role, for example,
arn:aws:iam::123456789012:role/RedshiftCopyUnload . |
static Class<? extends ClusterIamRole.Builder> |
serializableBuilderClass() |
ClusterIamRole.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String iamRoleArn()
The Amazon Resource Name (ARN) of the IAM role, for example,
arn:aws:iam::123456789012:role/RedshiftCopyUnload
.
arn:aws:iam::123456789012:role/RedshiftCopyUnload
.public 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.
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.
public ClusterIamRole.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ClusterIamRole.Builder,ClusterIamRole>
public static ClusterIamRole.Builder builder()
public static Class<? extends ClusterIamRole.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.