|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.elasticloadbalancing.model.Instance
public class Instance
The Instance data type.
| Constructor Summary | |
|---|---|
Instance()
Default constructor for a new Instance object. |
|
Instance(String instanceId)
Constructs a new Instance object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getInstanceId()
Provides an EC2 instance ID. |
int |
hashCode()
|
void |
setInstanceId(String instanceId)
Provides an EC2 instance ID. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Instance |
withInstanceId(String instanceId)
Provides an EC2 instance ID. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Instance()
public Instance(String instanceId)
instanceId - Provides an EC2 instance ID.| Method Detail |
|---|
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId - Provides an EC2 instance ID.public Instance withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId - Provides an EC2 instance ID.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||