@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IAMRoleIdentity extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an AWS Identity and Access Management (IAM) 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 Object
Object.toString()
public IAMRoleIdentity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.