public class VolumeStatusAction
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a volume status operation code.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
code
The code identifying the operation, for example,
enable-volume-io . |
private java.lang.String |
description
A description of the operation.
|
private java.lang.String |
eventId
The ID of the event associated with this operation.
|
private java.lang.String |
eventType
The event type associated with this operation.
|
Constructor and Description |
---|
VolumeStatusAction() |
Modifier and Type | Method and Description |
---|---|
VolumeStatusAction |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCode()
The code identifying the operation, for example,
enable-volume-io . |
java.lang.String |
getDescription()
A description of the operation.
|
java.lang.String |
getEventId()
The ID of the event associated with this operation.
|
java.lang.String |
getEventType()
The event type associated with this operation.
|
int |
hashCode() |
void |
setCode(java.lang.String code)
The code identifying the operation, for example,
enable-volume-io . |
void |
setDescription(java.lang.String description)
A description of the operation.
|
void |
setEventId(java.lang.String eventId)
The ID of the event associated with this operation.
|
void |
setEventType(java.lang.String eventType)
The event type associated with this operation.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VolumeStatusAction |
withCode(java.lang.String code)
The code identifying the operation, for example,
enable-volume-io . |
VolumeStatusAction |
withDescription(java.lang.String description)
A description of the operation.
|
VolumeStatusAction |
withEventId(java.lang.String eventId)
The ID of the event associated with this operation.
|
VolumeStatusAction |
withEventType(java.lang.String eventType)
The event type associated with this operation.
|
private java.lang.String code
The code identifying the operation, for example,
enable-volume-io
.
private java.lang.String description
A description of the operation.
private java.lang.String eventType
The event type associated with this operation.
private java.lang.String eventId
The ID of the event associated with this operation.
public void setCode(java.lang.String code)
The code identifying the operation, for example,
enable-volume-io
.
code
- The code identifying the operation, for example,
enable-volume-io
.public java.lang.String getCode()
The code identifying the operation, for example,
enable-volume-io
.
enable-volume-io
.public VolumeStatusAction withCode(java.lang.String code)
The code identifying the operation, for example,
enable-volume-io
.
code
- The code identifying the operation, for example,
enable-volume-io
.public void setDescription(java.lang.String description)
A description of the operation.
description
- A description of the operation.public java.lang.String getDescription()
A description of the operation.
public VolumeStatusAction withDescription(java.lang.String description)
A description of the operation.
description
- A description of the operation.public void setEventType(java.lang.String eventType)
The event type associated with this operation.
eventType
- The event type associated with this operation.public java.lang.String getEventType()
The event type associated with this operation.
public VolumeStatusAction withEventType(java.lang.String eventType)
The event type associated with this operation.
eventType
- The event type associated with this operation.public void setEventId(java.lang.String eventId)
The ID of the event associated with this operation.
eventId
- The ID of the event associated with this operation.public java.lang.String getEventId()
The ID of the event associated with this operation.
public VolumeStatusAction withEventId(java.lang.String eventId)
The ID of the event associated with this operation.
eventId
- The ID of the event associated with this operation.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public VolumeStatusAction clone()
clone
in class java.lang.Object