@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IamInstanceProfile extends Object implements Serializable, Cloneable
Describes an IAM instance profile.
Constructor and Description |
---|
IamInstanceProfile() |
Modifier and Type | Method and Description |
---|---|
IamInstanceProfile |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the instance profile.
|
String |
getId()
The ID of the instance profile.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
|
void |
setId(String id)
The ID of the instance profile.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
IamInstanceProfile |
withArn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
|
IamInstanceProfile |
withId(String id)
The ID of the instance profile.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
arn
- The Amazon Resource Name (ARN) of the instance profile.public String getArn()
The Amazon Resource Name (ARN) of the instance profile.
public IamInstanceProfile withArn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
arn
- The Amazon Resource Name (ARN) of the instance profile.public void setId(String id)
The ID of the instance profile.
id
- The ID of the instance profile.public String getId()
The ID of the instance profile.
public IamInstanceProfile withId(String id)
The ID of the instance profile.
id
- The ID of the instance profile.public String toString()
toString
in class Object
Object.toString()
public IamInstanceProfile clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.