@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KxVolume extends Object implements Serializable, Cloneable, StructuredPojo
The structure that contains the metadata of the volume.
Constructor and Description |
---|
KxVolume() |
Modifier and Type | Method and Description |
---|---|
KxVolume |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAvailabilityZoneIds()
The identifier of the availability zones.
|
String |
getAzMode()
The number of availability zones you want to assign per volume.
|
Date |
getCreatedTimestamp()
The timestamp at which the volume was created in FinSpace.
|
String |
getDescription()
A description of the volume.
|
Date |
getLastModifiedTimestamp()
The last time that the volume was updated in FinSpace.
|
String |
getStatus()
The status of volume.
|
String |
getStatusReason()
The error message when a failed state occurs.
|
String |
getVolumeName()
A unique identifier for the volume.
|
String |
getVolumeType()
The type of file system volume.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZoneIds(Collection<String> availabilityZoneIds)
The identifier of the availability zones.
|
void |
setAzMode(String azMode)
The number of availability zones you want to assign per volume.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The timestamp at which the volume was created in FinSpace.
|
void |
setDescription(String description)
A description of the volume.
|
void |
setLastModifiedTimestamp(Date lastModifiedTimestamp)
The last time that the volume was updated in FinSpace.
|
void |
setStatus(String status)
The status of volume.
|
void |
setStatusReason(String statusReason)
The error message when a failed state occurs.
|
void |
setVolumeName(String volumeName)
A unique identifier for the volume.
|
void |
setVolumeType(String volumeType)
The type of file system volume.
|
String |
toString()
Returns a string representation of this object.
|
KxVolume |
withAvailabilityZoneIds(Collection<String> availabilityZoneIds)
The identifier of the availability zones.
|
KxVolume |
withAvailabilityZoneIds(String... availabilityZoneIds)
The identifier of the availability zones.
|
KxVolume |
withAzMode(KxAzMode azMode)
The number of availability zones you want to assign per volume.
|
KxVolume |
withAzMode(String azMode)
The number of availability zones you want to assign per volume.
|
KxVolume |
withCreatedTimestamp(Date createdTimestamp)
The timestamp at which the volume was created in FinSpace.
|
KxVolume |
withDescription(String description)
A description of the volume.
|
KxVolume |
withLastModifiedTimestamp(Date lastModifiedTimestamp)
The last time that the volume was updated in FinSpace.
|
KxVolume |
withStatus(KxVolumeStatus status)
The status of volume.
|
KxVolume |
withStatus(String status)
The status of volume.
|
KxVolume |
withStatusReason(String statusReason)
The error message when a failed state occurs.
|
KxVolume |
withVolumeName(String volumeName)
A unique identifier for the volume.
|
KxVolume |
withVolumeType(KxVolumeType volumeType)
The type of file system volume.
|
KxVolume |
withVolumeType(String volumeType)
The type of file system volume.
|
public void setVolumeName(String volumeName)
A unique identifier for the volume.
volumeName
- A unique identifier for the volume.public String getVolumeName()
A unique identifier for the volume.
public KxVolume withVolumeName(String volumeName)
A unique identifier for the volume.
volumeName
- A unique identifier for the volume.public void setVolumeType(String volumeType)
The type of file system volume. Currently, FinSpace only supports NAS_1
volume type.
volumeType
- The type of file system volume. Currently, FinSpace only supports NAS_1
volume type.KxVolumeType
public String getVolumeType()
The type of file system volume. Currently, FinSpace only supports NAS_1
volume type.
NAS_1
volume type.KxVolumeType
public KxVolume withVolumeType(String volumeType)
The type of file system volume. Currently, FinSpace only supports NAS_1
volume type.
volumeType
- The type of file system volume. Currently, FinSpace only supports NAS_1
volume type.KxVolumeType
public KxVolume withVolumeType(KxVolumeType volumeType)
The type of file system volume. Currently, FinSpace only supports NAS_1
volume type.
volumeType
- The type of file system volume. Currently, FinSpace only supports NAS_1
volume type.KxVolumeType
public void setStatus(String status)
The status of volume.
CREATING – The volume creation is in progress.
CREATE_FAILED – The volume creation has failed.
ACTIVE – The volume is active.
UPDATING – The volume is in the process of being updated.
UPDATE_FAILED – The update action failed.
UPDATED – The volume is successfully updated.
DELETING – The volume is in the process of being deleted.
DELETE_FAILED – The system failed to delete the volume.
DELETED – The volume is successfully deleted.
status
- The status of volume.
CREATING – The volume creation is in progress.
CREATE_FAILED – The volume creation has failed.
ACTIVE – The volume is active.
UPDATING – The volume is in the process of being updated.
UPDATE_FAILED – The update action failed.
UPDATED – The volume is successfully updated.
DELETING – The volume is in the process of being deleted.
DELETE_FAILED – The system failed to delete the volume.
DELETED – The volume is successfully deleted.
KxVolumeStatus
public String getStatus()
The status of volume.
CREATING – The volume creation is in progress.
CREATE_FAILED – The volume creation has failed.
ACTIVE – The volume is active.
UPDATING – The volume is in the process of being updated.
UPDATE_FAILED – The update action failed.
UPDATED – The volume is successfully updated.
DELETING – The volume is in the process of being deleted.
DELETE_FAILED – The system failed to delete the volume.
DELETED – The volume is successfully deleted.
CREATING – The volume creation is in progress.
CREATE_FAILED – The volume creation has failed.
ACTIVE – The volume is active.
UPDATING – The volume is in the process of being updated.
UPDATE_FAILED – The update action failed.
UPDATED – The volume is successfully updated.
DELETING – The volume is in the process of being deleted.
DELETE_FAILED – The system failed to delete the volume.
DELETED – The volume is successfully deleted.
KxVolumeStatus
public KxVolume withStatus(String status)
The status of volume.
CREATING – The volume creation is in progress.
CREATE_FAILED – The volume creation has failed.
ACTIVE – The volume is active.
UPDATING – The volume is in the process of being updated.
UPDATE_FAILED – The update action failed.
UPDATED – The volume is successfully updated.
DELETING – The volume is in the process of being deleted.
DELETE_FAILED – The system failed to delete the volume.
DELETED – The volume is successfully deleted.
status
- The status of volume.
CREATING – The volume creation is in progress.
CREATE_FAILED – The volume creation has failed.
ACTIVE – The volume is active.
UPDATING – The volume is in the process of being updated.
UPDATE_FAILED – The update action failed.
UPDATED – The volume is successfully updated.
DELETING – The volume is in the process of being deleted.
DELETE_FAILED – The system failed to delete the volume.
DELETED – The volume is successfully deleted.
KxVolumeStatus
public KxVolume withStatus(KxVolumeStatus status)
The status of volume.
CREATING – The volume creation is in progress.
CREATE_FAILED – The volume creation has failed.
ACTIVE – The volume is active.
UPDATING – The volume is in the process of being updated.
UPDATE_FAILED – The update action failed.
UPDATED – The volume is successfully updated.
DELETING – The volume is in the process of being deleted.
DELETE_FAILED – The system failed to delete the volume.
DELETED – The volume is successfully deleted.
status
- The status of volume.
CREATING – The volume creation is in progress.
CREATE_FAILED – The volume creation has failed.
ACTIVE – The volume is active.
UPDATING – The volume is in the process of being updated.
UPDATE_FAILED – The update action failed.
UPDATED – The volume is successfully updated.
DELETING – The volume is in the process of being deleted.
DELETE_FAILED – The system failed to delete the volume.
DELETED – The volume is successfully deleted.
KxVolumeStatus
public void setDescription(String description)
A description of the volume.
description
- A description of the volume.public String getDescription()
A description of the volume.
public KxVolume withDescription(String description)
A description of the volume.
description
- A description of the volume.public void setStatusReason(String statusReason)
The error message when a failed state occurs.
statusReason
- The error message when a failed state occurs.public String getStatusReason()
The error message when a failed state occurs.
public KxVolume withStatusReason(String statusReason)
The error message when a failed state occurs.
statusReason
- The error message when a failed state occurs.public void setAzMode(String azMode)
The number of availability zones you want to assign per volume. Currently, FinSpace only supports
SINGLE
for volumes. This places dataview in a single AZ.
azMode
- The number of availability zones you want to assign per volume. Currently, FinSpace only supports
SINGLE
for volumes. This places dataview in a single AZ.KxAzMode
public String getAzMode()
The number of availability zones you want to assign per volume. Currently, FinSpace only supports
SINGLE
for volumes. This places dataview in a single AZ.
SINGLE
for volumes. This places dataview in a single AZ.KxAzMode
public KxVolume withAzMode(String azMode)
The number of availability zones you want to assign per volume. Currently, FinSpace only supports
SINGLE
for volumes. This places dataview in a single AZ.
azMode
- The number of availability zones you want to assign per volume. Currently, FinSpace only supports
SINGLE
for volumes. This places dataview in a single AZ.KxAzMode
public KxVolume withAzMode(KxAzMode azMode)
The number of availability zones you want to assign per volume. Currently, FinSpace only supports
SINGLE
for volumes. This places dataview in a single AZ.
azMode
- The number of availability zones you want to assign per volume. Currently, FinSpace only supports
SINGLE
for volumes. This places dataview in a single AZ.KxAzMode
public List<String> getAvailabilityZoneIds()
The identifier of the availability zones.
public void setAvailabilityZoneIds(Collection<String> availabilityZoneIds)
The identifier of the availability zones.
availabilityZoneIds
- The identifier of the availability zones.public KxVolume withAvailabilityZoneIds(String... availabilityZoneIds)
The identifier of the availability zones.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZoneIds(java.util.Collection)
or withAvailabilityZoneIds(java.util.Collection)
if you want to override the existing values.
availabilityZoneIds
- The identifier of the availability zones.public KxVolume withAvailabilityZoneIds(Collection<String> availabilityZoneIds)
The identifier of the availability zones.
availabilityZoneIds
- The identifier of the availability zones.public void setCreatedTimestamp(Date createdTimestamp)
The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
createdTimestamp
- The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in
milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as
1635768000000.public Date getCreatedTimestamp()
The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
public KxVolume withCreatedTimestamp(Date createdTimestamp)
The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
createdTimestamp
- The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in
milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as
1635768000000.public void setLastModifiedTimestamp(Date lastModifiedTimestamp)
The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
lastModifiedTimestamp
- The last time that the volume was updated in FinSpace. The value is determined as epoch time in
milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as
1635768000000.public Date getLastModifiedTimestamp()
The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
public KxVolume withLastModifiedTimestamp(Date lastModifiedTimestamp)
The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
lastModifiedTimestamp
- The last time that the volume was updated in FinSpace. The value is determined as epoch time in
milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as
1635768000000.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.