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 VolumeStatusActionclone()booleanequals(Object obj)StringgetCode()The code identifying the operation, for example,enable-volume-io.StringgetDescription()A description of the operation.StringgetEventId()The ID of the event associated with this operation.StringgetEventType()The event type associated with this operation.inthashCode()voidsetCode(String code)The code identifying the operation, for example,enable-volume-io.voidsetDescription(String description)A description of the operation.voidsetEventId(String eventId)The ID of the event associated with this operation.voidsetEventType(String eventType)The event type associated with this operation.StringtoString()Returns a string representation of this object; useful for testing and debugging.VolumeStatusActionwithCode(String code)The code identifying the operation, for example,enable-volume-io.VolumeStatusActionwithDescription(String description)A description of the operation.VolumeStatusActionwithEventId(String eventId)The ID of the event associated with this operation.VolumeStatusActionwithEventType(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public VolumeStatusAction clone()
-
-