@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Volume extends Object implements Serializable, Cloneable, StructuredPojo
Describes an Amazon FSx for NetApp ONTAP volume.
| Constructor and Description |
|---|
Volume() |
| Modifier and Type | Method and Description |
|---|---|
Volume |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime() |
String |
getFileSystemId() |
String |
getLifecycle()
The lifecycle status of the volume.
|
LifecycleTransitionReason |
getLifecycleTransitionReason()
Describes why the volume lifecycle state changed.
|
String |
getName()
The name of the volume.
|
OntapVolumeConfiguration |
getOntapConfiguration() |
String |
getResourceARN() |
List<Tag> |
getTags() |
String |
getVolumeId()
The system-generated, unique ID of the volume.
|
String |
getVolumeType()
The type of volume;
ONTAP is the only valid volume type. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCreationTime(Date creationTime) |
void |
setFileSystemId(String fileSystemId) |
void |
setLifecycle(String lifecycle)
The lifecycle status of the volume.
|
void |
setLifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason)
Describes why the volume lifecycle state changed.
|
void |
setName(String name)
The name of the volume.
|
void |
setOntapConfiguration(OntapVolumeConfiguration ontapConfiguration) |
void |
setResourceARN(String resourceARN) |
void |
setTags(Collection<Tag> tags) |
void |
setVolumeId(String volumeId)
The system-generated, unique ID of the volume.
|
void |
setVolumeType(String volumeType)
The type of volume;
ONTAP is the only valid volume type. |
String |
toString()
Returns a string representation of this object.
|
Volume |
withCreationTime(Date creationTime) |
Volume |
withFileSystemId(String fileSystemId) |
Volume |
withLifecycle(String lifecycle)
The lifecycle status of the volume.
|
Volume |
withLifecycle(VolumeLifecycle lifecycle)
The lifecycle status of the volume.
|
Volume |
withLifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason)
Describes why the volume lifecycle state changed.
|
Volume |
withName(String name)
The name of the volume.
|
Volume |
withOntapConfiguration(OntapVolumeConfiguration ontapConfiguration) |
Volume |
withResourceARN(String resourceARN) |
Volume |
withTags(Collection<Tag> tags) |
Volume |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).
|
Volume |
withVolumeId(String volumeId)
The system-generated, unique ID of the volume.
|
Volume |
withVolumeType(String volumeType)
The type of volume;
ONTAP is the only valid volume type. |
Volume |
withVolumeType(VolumeType volumeType)
The type of volume;
ONTAP is the only valid volume type. |
public void setCreationTime(Date creationTime)
creationTime - public Date getCreationTime()
public Volume withCreationTime(Date creationTime)
creationTime - public void setFileSystemId(String fileSystemId)
fileSystemId - public String getFileSystemId()
public Volume withFileSystemId(String fileSystemId)
fileSystemId - public void setLifecycle(String lifecycle)
The lifecycle status of the volume.
CREATED - The volume is fully available for use.
CREATING - Amazon FSx is creating the new volume.
DELETING - Amazon FSx is deleting an existing volume.
FAILED - Amazon FSx was unable to create the volume.
MISCONFIGURED - The volume is in a failed but recoverable state.
PENDING - Amazon FSx has not started creating the volume.
lifecycle - The lifecycle status of the volume.
CREATED - The volume is fully available for use.
CREATING - Amazon FSx is creating the new volume.
DELETING - Amazon FSx is deleting an existing volume.
FAILED - Amazon FSx was unable to create the volume.
MISCONFIGURED - The volume is in a failed but recoverable state.
PENDING - Amazon FSx has not started creating the volume.
VolumeLifecyclepublic String getLifecycle()
The lifecycle status of the volume.
CREATED - The volume is fully available for use.
CREATING - Amazon FSx is creating the new volume.
DELETING - Amazon FSx is deleting an existing volume.
FAILED - Amazon FSx was unable to create the volume.
MISCONFIGURED - The volume is in a failed but recoverable state.
PENDING - Amazon FSx has not started creating the volume.
CREATED - The volume is fully available for use.
CREATING - Amazon FSx is creating the new volume.
DELETING - Amazon FSx is deleting an existing volume.
FAILED - Amazon FSx was unable to create the volume.
MISCONFIGURED - The volume is in a failed but recoverable state.
PENDING - Amazon FSx has not started creating the volume.
VolumeLifecyclepublic Volume withLifecycle(String lifecycle)
The lifecycle status of the volume.
CREATED - The volume is fully available for use.
CREATING - Amazon FSx is creating the new volume.
DELETING - Amazon FSx is deleting an existing volume.
FAILED - Amazon FSx was unable to create the volume.
MISCONFIGURED - The volume is in a failed but recoverable state.
PENDING - Amazon FSx has not started creating the volume.
lifecycle - The lifecycle status of the volume.
CREATED - The volume is fully available for use.
CREATING - Amazon FSx is creating the new volume.
DELETING - Amazon FSx is deleting an existing volume.
FAILED - Amazon FSx was unable to create the volume.
MISCONFIGURED - The volume is in a failed but recoverable state.
PENDING - Amazon FSx has not started creating the volume.
VolumeLifecyclepublic Volume withLifecycle(VolumeLifecycle lifecycle)
The lifecycle status of the volume.
CREATED - The volume is fully available for use.
CREATING - Amazon FSx is creating the new volume.
DELETING - Amazon FSx is deleting an existing volume.
FAILED - Amazon FSx was unable to create the volume.
MISCONFIGURED - The volume is in a failed but recoverable state.
PENDING - Amazon FSx has not started creating the volume.
lifecycle - The lifecycle status of the volume.
CREATED - The volume is fully available for use.
CREATING - Amazon FSx is creating the new volume.
DELETING - Amazon FSx is deleting an existing volume.
FAILED - Amazon FSx was unable to create the volume.
MISCONFIGURED - The volume is in a failed but recoverable state.
PENDING - Amazon FSx has not started creating the volume.
VolumeLifecyclepublic void setName(String name)
The name of the volume.
name - The name of the volume.public String getName()
The name of the volume.
public Volume withName(String name)
The name of the volume.
name - The name of the volume.public void setOntapConfiguration(OntapVolumeConfiguration ontapConfiguration)
ontapConfiguration - public OntapVolumeConfiguration getOntapConfiguration()
public Volume withOntapConfiguration(OntapVolumeConfiguration ontapConfiguration)
ontapConfiguration - public void setResourceARN(String resourceARN)
resourceARN - public String getResourceARN()
public Volume withResourceARN(String resourceARN)
resourceARN - public void setTags(Collection<Tag> tags)
tags - public Volume withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - public Volume withTags(Collection<Tag> tags)
tags - public void setVolumeId(String volumeId)
The system-generated, unique ID of the volume.
volumeId - The system-generated, unique ID of the volume.public String getVolumeId()
The system-generated, unique ID of the volume.
public Volume withVolumeId(String volumeId)
The system-generated, unique ID of the volume.
volumeId - The system-generated, unique ID of the volume.public void setVolumeType(String volumeType)
The type of volume; ONTAP is the only valid volume type.
volumeType - The type of volume; ONTAP is the only valid volume type.VolumeTypepublic String getVolumeType()
The type of volume; ONTAP is the only valid volume type.
ONTAP is the only valid volume type.VolumeTypepublic Volume withVolumeType(String volumeType)
The type of volume; ONTAP is the only valid volume type.
volumeType - The type of volume; ONTAP is the only valid volume type.VolumeTypepublic Volume withVolumeType(VolumeType volumeType)
The type of volume; ONTAP is the only valid volume type.
volumeType - The type of volume; ONTAP is the only valid volume type.VolumeTypepublic void setLifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason)
Describes why the volume lifecycle state changed.
lifecycleTransitionReason - Describes why the volume lifecycle state changed.public LifecycleTransitionReason getLifecycleTransitionReason()
Describes why the volume lifecycle state changed.
public Volume withLifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason)
Describes why the volume lifecycle state changed.
lifecycleTransitionReason - Describes why the volume lifecycle state changed.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.