Class VolumeStatusEvent

java.lang.Object
com.amazonaws.services.ec2.model.VolumeStatusEvent
All Implemented Interfaces:
Serializable, Cloneable

public class VolumeStatusEvent extends Object implements Serializable, Cloneable

Describes a volume status event.

See Also:
  • Constructor Details

    • VolumeStatusEvent

      public VolumeStatusEvent()
  • Method Details

    • setEventType

      public void setEventType(String eventType)

      The type of this event.

      Parameters:
      eventType - The type of this event.
    • getEventType

      public String getEventType()

      The type of this event.

      Returns:
      The type of this event.
    • withEventType

      public VolumeStatusEvent withEventType(String eventType)

      The type of this event.

      Parameters:
      eventType - The type of this event.
      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 event.

      Parameters:
      description - A description of the event.
    • getDescription

      public String getDescription()

      A description of the event.

      Returns:
      A description of the event.
    • withDescription

      public VolumeStatusEvent withDescription(String description)

      A description of the event.

      Parameters:
      description - A description of the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNotBefore

      public void setNotBefore(Date notBefore)

      The earliest start time of the event.

      Parameters:
      notBefore - The earliest start time of the event.
    • getNotBefore

      public Date getNotBefore()

      The earliest start time of the event.

      Returns:
      The earliest start time of the event.
    • withNotBefore

      public VolumeStatusEvent withNotBefore(Date notBefore)

      The earliest start time of the event.

      Parameters:
      notBefore - The earliest start time of the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNotAfter

      public void setNotAfter(Date notAfter)

      The latest end time of the event.

      Parameters:
      notAfter - The latest end time of the event.
    • getNotAfter

      public Date getNotAfter()

      The latest end time of the event.

      Returns:
      The latest end time of the event.
    • withNotAfter

      public VolumeStatusEvent withNotAfter(Date notAfter)

      The latest end time of the event.

      Parameters:
      notAfter - The latest end time of the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEventId

      public void setEventId(String eventId)

      The ID of this event.

      Parameters:
      eventId - The ID of this event.
    • getEventId

      public String getEventId()

      The ID of this event.

      Returns:
      The ID of this event.
    • withEventId

      public VolumeStatusEvent withEventId(String eventId)

      The ID of this event.

      Parameters:
      eventId - The ID of this event.
      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 VolumeStatusEvent clone()
      Overrides:
      clone in class Object