/** * The status of the volume. * * <p><b>Constraints:</b><br> * <b>Allowed Values: </b>ok, impaired, insufficient-data * * @param status The status of the volume. * @see VolumeStatusInfoStatus */ public void setStatus(VolumeStatusInfoStatus status) { this.status = status.toString(); }
/** * The status of the volume. * * <p>Returns a reference to this object so that method calls can be chained together. * * <p><b>Constraints:</b><br> * <b>Allowed Values: </b>ok, impaired, insufficient-data * * @param status The status of the volume. * @return A reference to this updated object so that method calls can be chained together. * @see VolumeStatusInfoStatus */ public VolumeStatusInfo withStatus(VolumeStatusInfoStatus status) { this.status = status.toString(); return this; }