public class AddDrivesRequest
extends Object
implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
AddDrivesRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
AddDrivesRequest() |
AddDrivesRequest(NewDrive[] drives,
Optional<Boolean> forceDuringUpgrade) |
AddDrivesRequest(NewDrive[] drives,
Optional<Boolean> forceDuringUpgrade,
Optional<Boolean> forceDuringBinSync) |
| Modifier and Type | Method and Description |
|---|---|
AddDrivesRequest.Builder |
asBuilder() |
static AddDrivesRequest.Builder |
builder() |
boolean |
equals(Object o) |
NewDrive[] |
getDrives()
Returns information about each drive to be added to the
cluster.
|
Optional<Boolean> |
getForceDuringBinSync()
Allows the user to force the addition of drives during a bin sync operation.
|
Optional<Boolean> |
getForceDuringUpgrade()
Allows the user to force the addition of drives during an upgrade.
|
int |
hashCode() |
void |
setDrives(NewDrive[] drives) |
void |
setForceDuringBinSync(Optional<Boolean> forceDuringBinSync) |
void |
setForceDuringUpgrade(Optional<Boolean> forceDuringUpgrade) |
Map<String,Object> |
toMap() |
String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public AddDrivesRequest(NewDrive[] drives, Optional<Boolean> forceDuringUpgrade)
public NewDrive[] getDrives()
public void setDrives(NewDrive[] drives)
public Optional<Boolean> getForceDuringUpgrade()
public void setForceDuringUpgrade(Optional<Boolean> forceDuringUpgrade)
public Optional<Boolean> getForceDuringBinSync()
public void setForceDuringBinSync(Optional<Boolean> forceDuringBinSync)
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 AddDrivesRequest.Builder builder()
public final AddDrivesRequest.Builder asBuilder()
Copyright © 2014-2016 NetApp, Inc. All Rights Reserved.