@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IamInstanceProfile extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the EC2 instance profile.
Constructor and Description |
---|
IamInstanceProfile() |
Modifier and Type | Method and Description |
---|---|
IamInstanceProfile |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
AWS EC2 instance profile ARN.
|
String |
getId()
AWS EC2 instance profile ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
AWS EC2 instance profile ARN.
|
void |
setId(String id)
AWS EC2 instance profile ID.
|
String |
toString()
Returns a string representation of this object.
|
IamInstanceProfile |
withArn(String arn)
AWS EC2 instance profile ARN.
|
IamInstanceProfile |
withId(String id)
AWS EC2 instance profile ID.
|
public void setArn(String arn)
AWS EC2 instance profile ARN.
arn
- AWS EC2 instance profile ARN.public String getArn()
AWS EC2 instance profile ARN.
public IamInstanceProfile withArn(String arn)
AWS EC2 instance profile ARN.
arn
- AWS EC2 instance profile ARN.public void setId(String id)
AWS EC2 instance profile ID.
id
- AWS EC2 instance profile ID.public String getId()
AWS EC2 instance profile ID.
public IamInstanceProfile withId(String id)
AWS EC2 instance profile ID.
id
- AWS EC2 instance profile ID.public String toString()
toString
in class Object
Object.toString()
public IamInstanceProfile clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.