|
|||||||
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(java.lang.String instanceId)
Constructs a new Instance object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getInstanceId()
Provides an EC2 instance ID. |
int |
hashCode()
|
void |
setInstanceId(java.lang.String instanceId)
Provides an EC2 instance ID. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Instance |
withInstanceId(java.lang.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(java.lang.String instanceId)
instanceId
- Provides an EC2 instance ID.Method Detail |
---|
public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId
- Provides an EC2 instance ID.public Instance withInstanceId(java.lang.String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- Provides an EC2 instance ID.
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 |