public class InstanceStateChange extends Object implements Serializable
Constructor and Description |
---|
InstanceStateChange() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
InstanceState |
getCurrentState()
The current state of the instance.
|
String |
getInstanceId()
The ID of the instance.
|
InstanceState |
getPreviousState()
The previous state of the instance.
|
int |
hashCode() |
void |
setCurrentState(InstanceState currentState)
The current state of the instance.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setPreviousState(InstanceState previousState)
The previous state of the instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public void setCurrentState(InstanceState currentState)
The current state of the instance.
currentState
- The current state of the instance.public InstanceState getCurrentState()
The current state of the instance.
public void setPreviousState(InstanceState previousState)
The previous state of the instance.
previousState
- The previous state of the instance.public InstanceState getPreviousState()
The previous state of the instance.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2010–2020. All rights reserved.