public class IamInstanceProfileSpecification extends Object implements Serializable
Constructor and Description |
---|
IamInstanceProfileSpecification() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getArn()
Returns the value of the Arn property for this object.
|
String |
getName()
Returns the value of the Name property for this object.
|
int |
hashCode() |
void |
setArn(String arn)
Sets the value of the Arn property for this object.
|
void |
setName(String name)
Sets the value of the Name property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IamInstanceProfileSpecification |
withArn(String arn)
Sets the value of the Arn property for this object.
|
IamInstanceProfileSpecification |
withName(String name)
Sets the value of the Name property for this object.
|
public String getArn()
public void setArn(String arn)
arn
- The new value for the Arn property for this object.public IamInstanceProfileSpecification withArn(String arn)
Returns a reference to this object so that method calls can be chained together.
arn
- The new value for the Arn property for this object.public String getName()
public void setName(String name)
name
- The new value for the Name property for this object.public IamInstanceProfileSpecification withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The new value for the Name property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.