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:
  • Constructor Details

    • VolumeStatusAction

      public VolumeStatusAction()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public VolumeStatusAction clone()
      Overrides:
      clone in class Object