* The ID of the volume that you restored. *
*/ private String volumeId; /** ** The lifecycle state of the volume being restored. *
*/ private String lifecycle; /** ** A list of administrative actions for the file system that are in process or waiting to be processed. * Administrative actions describe changes to the Amazon FSx system. *
*/ private java.util.List* The ID of the volume that you restored. *
* * @param volumeId * The ID of the volume that you restored. */ public void setVolumeId(String volumeId) { this.volumeId = volumeId; } /** ** The ID of the volume that you restored. *
* * @return The ID of the volume that you restored. */ public String getVolumeId() { return this.volumeId; } /** ** The ID of the volume that you restored. *
* * @param volumeId * The ID of the volume that you restored. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreVolumeFromSnapshotResult withVolumeId(String volumeId) { setVolumeId(volumeId); return this; } /** ** The lifecycle state of the volume being restored. *
* * @param lifecycle * The lifecycle state of the volume being restored. * @see VolumeLifecycle */ public void setLifecycle(String lifecycle) { this.lifecycle = lifecycle; } /** ** The lifecycle state of the volume being restored. *
* * @return The lifecycle state of the volume being restored. * @see VolumeLifecycle */ public String getLifecycle() { return this.lifecycle; } /** ** The lifecycle state of the volume being restored. *
* * @param lifecycle * The lifecycle state of the volume being restored. * @return Returns a reference to this object so that method calls can be chained together. * @see VolumeLifecycle */ public RestoreVolumeFromSnapshotResult withLifecycle(String lifecycle) { setLifecycle(lifecycle); return this; } /** ** The lifecycle state of the volume being restored. *
* * @param lifecycle * The lifecycle state of the volume being restored. * @return Returns a reference to this object so that method calls can be chained together. * @see VolumeLifecycle */ public RestoreVolumeFromSnapshotResult withLifecycle(VolumeLifecycle lifecycle) { this.lifecycle = lifecycle.toString(); return this; } /** ** A list of administrative actions for the file system that are in process or waiting to be processed. * Administrative actions describe changes to the Amazon FSx system. *
* * @return A list of administrative actions for the file system that are in process or waiting to be processed. * Administrative actions describe changes to the Amazon FSx system. */ public java.util.List* A list of administrative actions for the file system that are in process or waiting to be processed. * Administrative actions describe changes to the Amazon FSx system. *
* * @param administrativeActions * A list of administrative actions for the file system that are in process or waiting to be processed. * Administrative actions describe changes to the Amazon FSx system. */ public void setAdministrativeActions(java.util.Collection* A list of administrative actions for the file system that are in process or waiting to be processed. * Administrative actions describe changes to the Amazon FSx system. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setAdministrativeActions(java.util.Collection)} or * {@link #withAdministrativeActions(java.util.Collection)} if you want to override the existing values. *
* * @param administrativeActions * A list of administrative actions for the file system that are in process or waiting to be processed. * Administrative actions describe changes to the Amazon FSx system. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreVolumeFromSnapshotResult withAdministrativeActions(AdministrativeAction... administrativeActions) { if (this.administrativeActions == null) { setAdministrativeActions(new java.util.ArrayList* A list of administrative actions for the file system that are in process or waiting to be processed. * Administrative actions describe changes to the Amazon FSx system. *
* * @param administrativeActions * A list of administrative actions for the file system that are in process or waiting to be processed. * Administrative actions describe changes to the Amazon FSx system. * @return Returns a reference to this object so that method calls can be chained together. */ public RestoreVolumeFromSnapshotResult withAdministrativeActions(java.util.Collection