Class VolumeStatusEvent
java.lang.Object
com.amazonaws.services.ec2.model.VolumeStatusEvent
- All Implemented Interfaces:
Serializable, Cloneable
Describes a volume status event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanA description of the event.The ID of this event.The type of this event.The latest end time of the event.The earliest start time of the event.inthashCode()voidsetDescription(String description) A description of the event.voidsetEventId(String eventId) The ID of this event.voidsetEventType(String eventType) The type of this event.voidsetNotAfter(Date notAfter) The latest end time of the event.voidsetNotBefore(Date notBefore) The earliest start time of the event.toString()Returns a string representation of this object; useful for testing and debugging.withDescription(String description) A description of the event.withEventId(String eventId) The ID of this event.withEventType(String eventType) The type of this event.withNotAfter(Date notAfter) The latest end time of the event.withNotBefore(Date notBefore) The earliest start time of the event.
-
Constructor Details
-
VolumeStatusEvent
public VolumeStatusEvent()
-
-
Method Details
-
setEventType
The type of this event.
- Parameters:
eventType- The type of this event.
-
getEventType
-
withEventType
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
A description of the event.
- Parameters:
description- A description of the event.
-
getDescription
-
withDescription
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
The earliest start time of the event.
- Parameters:
notBefore- The earliest start time of the event.
-
getNotBefore
The earliest start time of the event.
- Returns:
- The earliest start time of the event.
-
withNotBefore
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
The latest end time of the event.
- Parameters:
notAfter- The latest end time of the event.
-
getNotAfter
The latest end time of the event.
- Returns:
- The latest end time of the event.
-
withNotAfter
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
The ID of this event.
- Parameters:
eventId- The ID of this event.
-
getEventId
-
withEventId
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
-
equals
-
hashCode
-
clone
-