com.amazonaws.services.ec2.model
Class VolumeStatusAction

java.lang.Object
  extended by com.amazonaws.services.ec2.model.VolumeStatusAction
All Implemented Interfaces:
java.io.Serializable

public class VolumeStatusAction
extends java.lang.Object
implements java.io.Serializable

Describes a volume status operation code.

See Also:
Serialized Form

Constructor Summary
VolumeStatusAction()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VolumeStatusAction

public VolumeStatusAction()
Method Detail

getCode

public java.lang.String getCode()
The code identifying the operation, for example, enable-volume-io.

Returns:
The code identifying the operation, for example, enable-volume-io.

setCode

public void setCode(java.lang.String code)
The code identifying the operation, for example, enable-volume-io.

Parameters:
code - The code identifying the operation, for example, enable-volume-io.

withCode

public VolumeStatusAction withCode(java.lang.String code)
The code identifying the operation, for example, enable-volume-io.

Returns a reference to this object so that method calls can be chained together.

Parameters:
code - The code identifying the operation, for example, enable-volume-io.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public java.lang.String getDescription()
A description of the operation.

Returns:
A description of the operation.

setDescription

public void setDescription(java.lang.String description)
A description of the operation.

Parameters:
description - A description of the operation.

withDescription

public VolumeStatusAction withDescription(java.lang.String description)
A description of the operation.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - A description of the operation.
Returns:
A reference to this updated object so that method calls can be chained together.

getEventType

public java.lang.String getEventType()
The event type associated with this operation.

Returns:
The event type associated with this operation.

setEventType

public void setEventType(java.lang.String eventType)
The event type associated with this operation.

Parameters:
eventType - The event type associated with this operation.

withEventType

public VolumeStatusAction withEventType(java.lang.String eventType)
The event type associated with this operation.

Returns a reference to this object so that method calls can be chained together.

Parameters:
eventType - The event type associated with this operation.
Returns:
A reference to this updated object so that method calls can be chained together.

getEventId

public java.lang.String getEventId()
The ID of the event associated with this operation.

Returns:
The ID of the event associated with this operation.

setEventId

public void setEventId(java.lang.String eventId)
The ID of the event associated with this operation.

Parameters:
eventId - The ID of the event associated with this operation.

withEventId

public VolumeStatusAction withEventId(java.lang.String eventId)
The ID of the event associated with this operation.

Returns a reference to this object so that method calls can be chained together.

Parameters:
eventId - The ID of the event associated with this operation.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.