@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Volume extends Object implements Serializable, Cloneable, StructuredPojo
Describes an Amazon FSx volume.
Constructor and Description |
---|
Volume() |
Modifier and Type | Method and Description |
---|---|
Volume |
clone() |
boolean |
equals(Object obj) |
List<AdministrativeAction> |
getAdministrativeActions()
A list of administrative actions for the volume that are in process or waiting to be processed.
|
Date |
getCreationTime() |
String |
getFileSystemId() |
String |
getLifecycle()
The lifecycle status of the volume.
|
LifecycleTransitionReason |
getLifecycleTransitionReason()
The reason why the volume lifecycle status changed.
|
String |
getName()
The name of the volume.
|
OntapVolumeConfiguration |
getOntapConfiguration() |
OpenZFSVolumeConfiguration |
getOpenZFSConfiguration()
The configuration of an Amazon FSx for OpenZFS volume.
|
String |
getResourceARN() |
List<Tag> |
getTags() |
String |
getVolumeId()
The system-generated, unique ID of the volume.
|
String |
getVolumeType()
The type of the volume.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdministrativeActions(Collection<AdministrativeAction> administrativeActions)
A list of administrative actions for the volume that are in process or waiting to be processed.
|
void |
setCreationTime(Date creationTime) |
void |
setFileSystemId(String fileSystemId) |
void |
setLifecycle(String lifecycle)
The lifecycle status of the volume.
|
void |
setLifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason)
The reason why the volume lifecycle status changed.
|
void |
setName(String name)
The name of the volume.
|
void |
setOntapConfiguration(OntapVolumeConfiguration ontapConfiguration) |
void |
setOpenZFSConfiguration(OpenZFSVolumeConfiguration openZFSConfiguration)
The configuration of an Amazon FSx for OpenZFS volume.
|
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 the volume.
|
String |
toString()
Returns a string representation of this object.
|
Volume |
withAdministrativeActions(AdministrativeAction... administrativeActions)
A list of administrative actions for the volume that are in process or waiting to be processed.
|
Volume |
withAdministrativeActions(Collection<AdministrativeAction> administrativeActions)
A list of administrative actions for the volume that are in process or waiting to be processed.
|
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)
The reason why the volume lifecycle status changed.
|
Volume |
withName(String name)
The name of the volume.
|
Volume |
withOntapConfiguration(OntapVolumeConfiguration ontapConfiguration) |
Volume |
withOpenZFSConfiguration(OpenZFSVolumeConfiguration openZFSConfiguration)
The configuration of an Amazon FSx for OpenZFS volume.
|
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 the volume.
|
Volume |
withVolumeType(VolumeType volumeType)
The type of the volume.
|
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.
AVAILABLE
- The volume is fully available for use.
CREATED
- The volume has been created.
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 hasn't started creating the volume.
lifecycle
- The lifecycle status of the volume.
AVAILABLE
- The volume is fully available for use.
CREATED
- The volume has been created.
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 hasn't started creating the volume.
VolumeLifecycle
public String getLifecycle()
The lifecycle status of the volume.
AVAILABLE
- The volume is fully available for use.
CREATED
- The volume has been created.
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 hasn't started creating the volume.
AVAILABLE
- The volume is fully available for use.
CREATED
- The volume has been created.
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 hasn't started creating the volume.
VolumeLifecycle
public Volume withLifecycle(String lifecycle)
The lifecycle status of the volume.
AVAILABLE
- The volume is fully available for use.
CREATED
- The volume has been created.
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 hasn't started creating the volume.
lifecycle
- The lifecycle status of the volume.
AVAILABLE
- The volume is fully available for use.
CREATED
- The volume has been created.
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 hasn't started creating the volume.
VolumeLifecycle
public Volume withLifecycle(VolumeLifecycle lifecycle)
The lifecycle status of the volume.
AVAILABLE
- The volume is fully available for use.
CREATED
- The volume has been created.
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 hasn't started creating the volume.
lifecycle
- The lifecycle status of the volume.
AVAILABLE
- The volume is fully available for use.
CREATED
- The volume has been created.
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 hasn't started creating the volume.
VolumeLifecycle
public 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 the volume.
volumeType
- The type of the volume.VolumeType
public String getVolumeType()
The type of the volume.
VolumeType
public Volume withVolumeType(String volumeType)
The type of the volume.
volumeType
- The type of the volume.VolumeType
public Volume withVolumeType(VolumeType volumeType)
The type of the volume.
volumeType
- The type of the volume.VolumeType
public void setLifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason)
The reason why the volume lifecycle status changed.
lifecycleTransitionReason
- The reason why the volume lifecycle status changed.public LifecycleTransitionReason getLifecycleTransitionReason()
The reason why the volume lifecycle status changed.
public Volume withLifecycleTransitionReason(LifecycleTransitionReason lifecycleTransitionReason)
The reason why the volume lifecycle status changed.
lifecycleTransitionReason
- The reason why the volume lifecycle status changed.public List<AdministrativeAction> getAdministrativeActions()
A list of administrative actions for the volume that are in process or waiting to be processed. Administrative
actions describe changes to the volume that you have initiated using the UpdateVolume
action.
UpdateVolume
action.public void setAdministrativeActions(Collection<AdministrativeAction> administrativeActions)
A list of administrative actions for the volume that are in process or waiting to be processed. Administrative
actions describe changes to the volume that you have initiated using the UpdateVolume
action.
administrativeActions
- A list of administrative actions for the volume that are in process or waiting to be processed.
Administrative actions describe changes to the volume that you have initiated using the
UpdateVolume
action.public Volume withAdministrativeActions(AdministrativeAction... administrativeActions)
A list of administrative actions for the volume that are in process or waiting to be processed. Administrative
actions describe changes to the volume that you have initiated using the UpdateVolume
action.
NOTE: This method appends the values to the existing list (if any). Use
setAdministrativeActions(java.util.Collection)
or
withAdministrativeActions(java.util.Collection)
if you want to override the existing values.
administrativeActions
- A list of administrative actions for the volume that are in process or waiting to be processed.
Administrative actions describe changes to the volume that you have initiated using the
UpdateVolume
action.public Volume withAdministrativeActions(Collection<AdministrativeAction> administrativeActions)
A list of administrative actions for the volume that are in process or waiting to be processed. Administrative
actions describe changes to the volume that you have initiated using the UpdateVolume
action.
administrativeActions
- A list of administrative actions for the volume that are in process or waiting to be processed.
Administrative actions describe changes to the volume that you have initiated using the
UpdateVolume
action.public void setOpenZFSConfiguration(OpenZFSVolumeConfiguration openZFSConfiguration)
The configuration of an Amazon FSx for OpenZFS volume.
openZFSConfiguration
- The configuration of an Amazon FSx for OpenZFS volume.public OpenZFSVolumeConfiguration getOpenZFSConfiguration()
The configuration of an Amazon FSx for OpenZFS volume.
public Volume withOpenZFSConfiguration(OpenZFSVolumeConfiguration openZFSConfiguration)
The configuration of an Amazon FSx for OpenZFS volume.
openZFSConfiguration
- The configuration of an Amazon FSx for OpenZFS volume.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.