public class ListVolumesRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ListVolumesRequest.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ListVolumesRequest() |
ListVolumesRequest(Optional<java.lang.Long> startVolumeID,
Optional<java.lang.Long> limit,
Optional<java.lang.String> volumeStatus,
Optional<java.lang.Long[]> accounts,
Optional<java.lang.Boolean> isPaired,
Optional<java.lang.Long[]> volumeIDs,
Optional<java.lang.String> volumeName,
Optional<java.lang.Boolean> includeVirtualVolumes,
Optional<java.lang.String[]> protectionSchemes) |
ListVolumesRequest(Optional<java.lang.Long> startVolumeID,
Optional<java.lang.Long> limit,
Optional<java.lang.String> volumeStatus,
Optional<java.lang.Long[]> accounts,
Optional<java.lang.Boolean> isPaired,
Optional<java.lang.Long[]> volumeIDs,
Optional<java.lang.String> volumeName,
Optional<java.lang.String[]> protectionSchemes) |
Modifier and Type | Method and Description |
---|---|
ListVolumesRequest.Builder |
asBuilder() |
static ListVolumesRequest.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.Long[]> |
getAccounts()
Returns only the volumes owned by the accounts you specify here.
|
Optional<java.lang.Boolean> |
getIncludeVirtualVolumes()
Specifies that virtual volumes are included in the response by default.
|
Optional<java.lang.Boolean> |
getIsPaired()
Returns volumes that are paired or not paired.
|
Optional<java.lang.Long> |
getLimit()
Specifies the maximum number of volume
results that are returned.
|
Optional<java.lang.String[]> |
getProtectionSchemes()
Only volumes that are using one of the protection schemes in this set are returned.
|
Optional<java.lang.Long> |
getStartVolumeID()
Only volumes with an ID greater than or equal to this
value are returned.
|
Optional<java.lang.Long[]> |
getVolumeIDs()
A list of volume IDs.
|
Optional<java.lang.String> |
getVolumeName()
Only volume object information matching the volume
name is returned.
|
Optional<java.lang.String> |
getVolumeStatus()
Only volumes with a status equal to the status value are
returned.
|
int |
hashCode() |
void |
setAccounts(Optional<java.lang.Long[]> accounts) |
void |
setIncludeVirtualVolumes(Optional<java.lang.Boolean> includeVirtualVolumes) |
void |
setIsPaired(Optional<java.lang.Boolean> isPaired) |
void |
setLimit(Optional<java.lang.Long> limit) |
void |
setProtectionSchemes(Optional<java.lang.String[]> protectionSchemes) |
void |
setStartVolumeID(Optional<java.lang.Long> startVolumeID) |
void |
setVolumeIDs(Optional<java.lang.Long[]> volumeIDs) |
void |
setVolumeName(Optional<java.lang.String> volumeName) |
void |
setVolumeStatus(Optional<java.lang.String> volumeStatus) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public ListVolumesRequest(Optional<java.lang.Long> startVolumeID, Optional<java.lang.Long> limit, Optional<java.lang.String> volumeStatus, Optional<java.lang.Long[]> accounts, Optional<java.lang.Boolean> isPaired, Optional<java.lang.Long[]> volumeIDs, Optional<java.lang.String> volumeName, Optional<java.lang.String[]> protectionSchemes)
@Since(value="9.0") public ListVolumesRequest(Optional<java.lang.Long> startVolumeID, Optional<java.lang.Long> limit, Optional<java.lang.String> volumeStatus, Optional<java.lang.Long[]> accounts, Optional<java.lang.Boolean> isPaired, Optional<java.lang.Long[]> volumeIDs, Optional<java.lang.String> volumeName, Optional<java.lang.Boolean> includeVirtualVolumes, Optional<java.lang.String[]> protectionSchemes)
public Optional<java.lang.Long> getStartVolumeID()
public void setStartVolumeID(Optional<java.lang.Long> startVolumeID)
public Optional<java.lang.Long> getLimit()
public void setLimit(Optional<java.lang.Long> limit)
public Optional<java.lang.String> getVolumeStatus()
public void setVolumeStatus(Optional<java.lang.String> volumeStatus)
public Optional<java.lang.Long[]> getAccounts()
public void setAccounts(Optional<java.lang.Long[]> accounts)
public Optional<java.lang.Boolean> getIsPaired()
public void setIsPaired(Optional<java.lang.Boolean> isPaired)
public Optional<java.lang.Long[]> getVolumeIDs()
public void setVolumeIDs(Optional<java.lang.Long[]> volumeIDs)
public Optional<java.lang.String> getVolumeName()
public void setVolumeName(Optional<java.lang.String> volumeName)
public Optional<java.lang.Boolean> getIncludeVirtualVolumes()
public void setIncludeVirtualVolumes(Optional<java.lang.Boolean> includeVirtualVolumes)
public Optional<java.lang.String[]> getProtectionSchemes()
public void setProtectionSchemes(Optional<java.lang.String[]> protectionSchemes)
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 ListVolumesRequest.Builder builder()
public final ListVolumesRequest.Builder asBuilder()