public class VolumeStatusDetails
extends java.lang.Object
implements java.io.Serializable
Describes a volume status.
Constructor and Description |
---|
VolumeStatusDetails() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the volume status.
|
java.lang.String |
getStatus()
The intended status of the volume status.
|
int |
hashCode() |
void |
setName(java.lang.String name)
The name of the volume status.
|
void |
setName(VolumeStatusName name)
The name of the volume status.
|
void |
setStatus(java.lang.String status)
The intended status of the volume status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VolumeStatusDetails |
withName(java.lang.String name)
The name of the volume status.
|
VolumeStatusDetails |
withName(VolumeStatusName name)
The name of the volume status.
|
VolumeStatusDetails |
withStatus(java.lang.String status)
The intended status of the volume status.
|
public java.lang.String getName()
Constraints:
Allowed Values: io-enabled, io-performance
VolumeStatusName
public void setName(java.lang.String name)
Constraints:
Allowed Values: io-enabled, io-performance
name
- The name of the volume status.VolumeStatusName
public VolumeStatusDetails withName(java.lang.String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: io-enabled, io-performance
name
- The name of the volume status.VolumeStatusName
public void setName(VolumeStatusName name)
Constraints:
Allowed Values: io-enabled, io-performance
name
- The name of the volume status.VolumeStatusName
public VolumeStatusDetails withName(VolumeStatusName name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: io-enabled, io-performance
name
- The name of the volume status.VolumeStatusName
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- The intended status of the volume status.public VolumeStatusDetails withStatus(java.lang.String status)
Returns a reference to this object so that method calls can be chained together.
status
- The intended status of the volume status.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.