public class VolumeStatusAction extends Object implements Serializable, Cloneable
Describes a volume status operation code.
Constructor and Description |
---|
VolumeStatusAction() |
Modifier and Type | Method and Description |
---|---|
VolumeStatusAction |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The code identifying the operation, for example,
enable-volume-io . |
String |
getDescription()
A description of the operation.
|
String |
getEventId()
The ID of the event associated with this operation.
|
String |
getEventType()
The event type associated with this operation.
|
int |
hashCode() |
void |
setCode(String code)
The code identifying the operation, for example,
enable-volume-io . |
void |
setDescription(String description)
A description of the operation.
|
void |
setEventId(String eventId)
The ID of the event associated with this operation.
|
void |
setEventType(String eventType)
The event type associated with this operation.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VolumeStatusAction |
withCode(String code)
The code identifying the operation, for example,
enable-volume-io . |
VolumeStatusAction |
withDescription(String description)
A description of the operation.
|
VolumeStatusAction |
withEventId(String eventId)
The ID of the event associated with this operation.
|
VolumeStatusAction |
withEventType(String eventType)
The event type associated with this operation.
|
public String getCode()
enable-volume-io
.enable-volume-io
.public void setCode(String code)
enable-volume-io
.code
- The code identifying the operation, for example,
enable-volume-io
.public VolumeStatusAction withCode(String code)
enable-volume-io
.
Returns a reference to this object so that method calls can be chained together.
code
- The code identifying the operation, for example,
enable-volume-io
.public String getDescription()
public void setDescription(String description)
description
- A description of the operation.public VolumeStatusAction withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- A description of the operation.public String getEventType()
public void setEventType(String eventType)
eventType
- The event type associated with this operation.public VolumeStatusAction withEventType(String eventType)
Returns a reference to this object so that method calls can be chained together.
eventType
- The event type associated with this operation.public String getEventId()
public void setEventId(String eventId)
eventId
- The ID of the event associated with this operation.public VolumeStatusAction withEventId(String eventId)
Returns a reference to this object so that method calls can be chained together.
eventId
- The ID of the event associated with this operation.public String toString()
toString
in class Object
Object.toString()
public VolumeStatusAction clone()
Copyright © 2015. All rights reserved.