Пример #1
0
 /**
  * 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();
 }
Пример #2
0
 /**
  * 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;
 }