public class MaintenanceModeResult
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
MaintenanceModeResult.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
MaintenanceModeResult() |
MaintenanceModeResult(java.lang.Long asyncHandle,
java.lang.String currentMode,
java.lang.String requestedMode) |
Modifier and Type | Method and Description |
---|---|
MaintenanceModeResult.Builder |
asBuilder() |
static MaintenanceModeResult.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAsyncHandle()
This asyncHandle should be retrieved with GetAsyncResult to determine when the maintenance mode transition is complete.
|
java.lang.String |
getCurrentMode()
The current maintenance mode of the node.
|
java.lang.String |
getRequestedMode()
The requested maintenance mode of the node.
|
int |
hashCode() |
void |
setAsyncHandle(java.lang.Long asyncHandle) |
void |
setCurrentMode(java.lang.String currentMode) |
void |
setRequestedMode(java.lang.String requestedMode) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
public java.lang.Long getAsyncHandle()
public void setAsyncHandle(java.lang.Long asyncHandle)
public java.lang.String getCurrentMode()
public void setCurrentMode(java.lang.String currentMode)
public java.lang.String getRequestedMode()
public void setRequestedMode(java.lang.String requestedMode)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static MaintenanceModeResult.Builder builder()
public final MaintenanceModeResult.Builder asBuilder()