|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.IamInstanceProfileSpecification
public class IamInstanceProfileSpecification
Describes an IAM instance profile.
Constructor Summary | |
---|---|
IamInstanceProfileSpecification()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getArn()
The Amazon Resource Name (ARN) of the instance profile. |
java.lang.String |
getName()
The name of the instance profile. |
int |
hashCode()
|
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the instance profile. |
void |
setName(java.lang.String name)
The name of the instance profile. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
IamInstanceProfileSpecification |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the instance profile. |
IamInstanceProfileSpecification |
withName(java.lang.String name)
The name of the instance profile. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IamInstanceProfileSpecification()
Method Detail |
---|
public java.lang.String getArn()
public void setArn(java.lang.String arn)
arn
- The Amazon Resource Name (ARN) of the instance profile.public IamInstanceProfileSpecification withArn(java.lang.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 java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the instance profile.public IamInstanceProfileSpecification withName(java.lang.String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the instance profile.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |