public class Instance
extends java.lang.Object
implements java.io.Serializable
The ID of a back-end 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 |
---|---|
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 java.lang.String getInstanceId()
The ID of the instance.
The ID of the instance.
public void setInstanceId(java.lang.String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.
public Instance withInstanceId(java.lang.String instanceId)
The ID of the instance.
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of the instance.
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
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.