public class ShutdownRequest
extends Object
implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ShutdownRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
ShutdownRequest() |
ShutdownRequest(Long[] nodes,
Optional<String> option) |
| Modifier and Type | Method and Description |
|---|---|
ShutdownRequest.Builder |
asBuilder() |
static ShutdownRequest.Builder |
builder() |
boolean |
equals(Object o) |
Long[] |
getNodes()
List of NodeIDs for the nodes to be shutdown.
|
Optional<String> |
getOption()
Specifies the action to take for the node shutdown.
|
int |
hashCode() |
void |
setNodes(Long[] nodes) |
void |
setOption(Optional<String> option) |
Map<String,Object> |
toMap() |
String |
toString() |
public static final long serialVersionUID
public Long[] getNodes()
public void setNodes(Long[] nodes)
public Optional<String> getOption()
public void setOption(Optional<String> option)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Map<String,Object> toMap()
public String toString()
toString in class Objectpublic static ShutdownRequest.Builder builder()
public final ShutdownRequest.Builder asBuilder()
Copyright © 2014-2016 NetApp, Inc. All Rights Reserved.