Package com.amazonaws.services.ec2.model
Class VolumeStatusAction
- java.lang.Object
-
- com.amazonaws.services.ec2.model.VolumeStatusAction
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class VolumeStatusAction extends Object implements Serializable, Cloneable
Describes a volume status operation code.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VolumeStatusAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setCode
public void setCode(String code)
The code identifying the operation, for example,
enable-volume-io
.- Parameters:
code
- The code identifying the operation, for example,enable-volume-io
.
-
getCode
public String getCode()
The code identifying the operation, for example,
enable-volume-io
.- Returns:
- The code identifying the operation, for example,
enable-volume-io
.
-
withCode
public VolumeStatusAction withCode(String code)
The code identifying the operation, for example,
enable-volume-io
.- Parameters:
code
- The code identifying the operation, for example,enable-volume-io
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
A description of the operation.
- Parameters:
description
- A description of the operation.
-
getDescription
public String getDescription()
A description of the operation.
- Returns:
- A description of the operation.
-
withDescription
public VolumeStatusAction withDescription(String description)
A description of the operation.
- Parameters:
description
- A description of the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEventType
public void setEventType(String eventType)
The event type associated with this operation.
- Parameters:
eventType
- The event type associated with this operation.
-
getEventType
public String getEventType()
The event type associated with this operation.
- Returns:
- The event type associated with this operation.
-
withEventType
public VolumeStatusAction withEventType(String eventType)
The event type associated with this operation.
- Parameters:
eventType
- The event type associated with this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEventId
public void setEventId(String eventId)
The ID of the event associated with this operation.
- Parameters:
eventId
- The ID of the event associated with this operation.
-
getEventId
public String getEventId()
The ID of the event associated with this operation.
- Returns:
- The ID of the event associated with this operation.
-
withEventId
public VolumeStatusAction withEventId(String eventId)
The ID of the event associated with this operation.
- Parameters:
eventId
- The ID of the event associated with this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public VolumeStatusAction clone()
-
-