@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IAMRoleIdentity extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an Identity and Access Management role. For more information, see IAM roles in the IAM User Guide.
| Constructor and Description |
|---|
IAMRoleIdentity() |
| Modifier and Type | Method and Description |
|---|---|
IAMRoleIdentity |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the IAM role.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
The ARN of the IAM role.
|
String |
toString()
Returns a string representation of this object.
|
IAMRoleIdentity |
withArn(String arn)
The ARN of the IAM role.
|
public void setArn(String arn)
The ARN of the IAM role. For more information, see IAM ARNs in the IAM User Guide.
arn - The ARN of the IAM role. For more information, see IAM ARNs in the
IAM User Guide.public String getArn()
The ARN of the IAM role. For more information, see IAM ARNs in the IAM User Guide.
public IAMRoleIdentity withArn(String arn)
The ARN of the IAM role. For more information, see IAM ARNs in the IAM User Guide.
arn - The ARN of the IAM role. For more information, see IAM ARNs in the
IAM User Guide.public String toString()
toString in class ObjectObject.toString()public IAMRoleIdentity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.