Package com.amazonaws.services.ec2.model
Class VolumeStatusAction
java.lang.Object
com.amazonaws.services.ec2.model.VolumeStatusAction
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a volume status operation code.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getCode()
The code identifying the operation, for example,enable-volume-io
.A description of the operation.The ID of the event associated with this operation.The event type associated with this operation.int
hashCode()
void
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.toString()
Returns a string representation of this object; useful for testing and debugging.The code identifying the operation, for example,enable-volume-io
.withDescription
(String description) A description of the operation.withEventId
(String eventId) The ID of the event associated with this operation.withEventType
(String eventType) The event type associated with this operation.
-
Constructor Details
-
VolumeStatusAction
public VolumeStatusAction()
-
-
Method Details
-
setCode
The code identifying the operation, for example,
enable-volume-io
.- Parameters:
code
- The code identifying the operation, for example,enable-volume-io
.
-
getCode
The code identifying the operation, for example,
enable-volume-io
.- Returns:
- The code identifying the operation, for example,
enable-volume-io
.
-
withCode
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
A description of the operation.
- Parameters:
description
- A description of the operation.
-
getDescription
A description of the operation.
- Returns:
- A description of the operation.
-
withDescription
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
The event type associated with this operation.
- Parameters:
eventType
- The event type associated with this operation.
-
getEventType
The event type associated with this operation.
- Returns:
- The event type associated with this operation.
-
withEventType
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
The ID of the event associated with this operation.
- Parameters:
eventId
- The ID of the event associated with this operation.
-
getEventId
The ID of the event associated with this operation.
- Returns:
- The ID of the event associated with this operation.
-
withEventId
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-