public class Instance
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The ID of a back-end instance.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
instanceId
The ID of the instance.
|
Constructor and Description |
---|
Instance()
Default constructor for Instance object.
|
Instance(java.lang.String instanceId)
Constructs a new Instance object.
|
Modifier and Type | Method and Description |
---|---|
Instance |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The ID of the instance.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Instance |
withInstanceId(java.lang.String instanceId)
The ID of the instance.
|
public Instance()
public Instance(java.lang.String instanceId)
instanceId
- The ID of the instance.public void setInstanceId(java.lang.String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public java.lang.String getInstanceId()
The ID of the instance.
public Instance withInstanceId(java.lang.String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Instance clone()
clone
in class java.lang.Object