public class VolumeStatusAction
extends java.lang.Object
implements java.io.Serializable
Describes a volume status operation code.
Constructor and Description |
---|
VolumeStatusAction() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getCode()
enable-volume-io
.enable-volume-io
.public void setCode(java.lang.String code)
enable-volume-io
.code
- The code identifying the operation, for example,
enable-volume-io
.public VolumeStatusAction withCode(java.lang.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 java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- A description of the operation.public VolumeStatusAction withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description
- A description of the operation.public java.lang.String getEventType()
public void setEventType(java.lang.String eventType)
eventType
- The event type associated with this operation.public VolumeStatusAction withEventType(java.lang.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 java.lang.String getEventId()
public void setEventId(java.lang.String eventId)
eventId
- The ID of the event associated with this operation.public VolumeStatusAction withEventId(java.lang.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 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.