public class IamInstanceProfile extends Object implements Serializable
Describes an IAM instance profile.
Constructor and Description |
---|
IamInstanceProfile() |
Modifier and Type | Method and Description |
---|---|
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 String getArn()
public void setArn(String arn)
arn
- The Amazon Resource Name (ARN) of the instance profile.public IamInstanceProfile withArn(String arn)
Returns a reference to this object so that method calls can be chained together.
arn
- The Amazon Resource Name (ARN) of the instance profile.public String getId()
public void setId(String id)
id
- The ID of the instance profile.public IamInstanceProfile withId(String id)
Returns a reference to this object so that method calls can be chained together.
id
- The ID of the instance profile.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.