@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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.
|
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 void setCode(String code)
The code identifying the operation, for example, enable-volume-io
.
code
- The code identifying the operation, for example, enable-volume-io
.public String getCode()
The code identifying the operation, for example, enable-volume-io
.
enable-volume-io
.public VolumeStatusAction withCode(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(String description)
A description of the operation.
description
- A description of the operation.public String getDescription()
A description of the operation.
public VolumeStatusAction withDescription(String description)
A description of the operation.
description
- A description of the operation.public void setEventId(String eventId)
The ID of the event associated with this operation.
eventId
- The ID of the event associated with this operation.public String getEventId()
The ID of the event associated with this operation.
public VolumeStatusAction withEventId(String eventId)
The ID of the event associated with this operation.
eventId
- The ID of the event associated with this operation.public void setEventType(String eventType)
The event type associated with this operation.
eventType
- The event type associated with this operation.public String getEventType()
The event type associated with this operation.
public VolumeStatusAction withEventType(String eventType)
The event type associated with this operation.
eventType
- The event type associated with this operation.public String toString()
toString
in class Object
Object.toString()
public VolumeStatusAction clone()