@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Volume extends Object implements Serializable, Cloneable, StructuredPojo
The structure that consists of name and type of volume.
| Constructor and Description |
|---|
Volume() |
| Modifier and Type | Method and Description |
|---|---|
Volume |
clone() |
boolean |
equals(Object obj) |
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 |
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.
|
Volume |
withVolumeName(String volumeName)
A unique identifier for the volume.
|
Volume |
withVolumeType(String volumeType)
The type of file system volume.
|
Volume |
withVolumeType(VolumeType 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 Volume 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.VolumeTypepublic String getVolumeType()
The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.
NAS_1 volume type.VolumeTypepublic Volume 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.VolumeTypepublic Volume withVolumeType(VolumeType 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.VolumeTypepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.