public class Instance
extends java.lang.Object
implements java.io.Serializable
The description of an Amazon EC2 instance.
| コンストラクタと説明 |
|---|
Instance()
Default constructor for a new Instance object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
The ID of the Amazon EC2 instance.
|
int |
hashCode() |
void |
setId(java.lang.String id)
The ID of the Amazon EC2 instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Instance |
withId(java.lang.String id)
The ID of the Amazon EC2 instance.
|
public Instance()
public java.lang.String getId()
public void setId(java.lang.String id)
id - The ID of the Amazon EC2 instance.public Instance withId(java.lang.String id)
Returns a reference to this object so that method calls can be chained together.
id - The ID of the Amazon EC2 instance.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object