Package com.amazonaws.services.ec2.model
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()
boolean
A 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.int
hashCode()
void
setDescription
(String description) A description of the event.void
setEventId
(String eventId) The ID of this event.void
setEventType
(String eventType) The type of this event.void
setNotAfter
(Date notAfter) The latest end time of the event.void
setNotBefore
(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
The type of this event.
- Returns:
- The type of this event.
-
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
A description of the event.
- Returns:
- A description of the event.
-
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
The ID of this event.
- Returns:
- The ID of this event.
-
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-