public class VolumeStatusEvent
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a volume status event.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
A description of the event.
|
private java.lang.String |
eventId
The ID of this event.
|
private java.lang.String |
eventType
The type of this event.
|
private java.util.Date |
notAfter
The latest end time of the event.
|
private java.util.Date |
notBefore
The earliest start time of the event.
|
Constructor and Description |
---|
VolumeStatusEvent() |
Modifier and Type | Method and Description |
---|---|
VolumeStatusEvent |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
A description of the event.
|
java.lang.String |
getEventId()
The ID of this event.
|
java.lang.String |
getEventType()
The type of this event.
|
java.util.Date |
getNotAfter()
The latest end time of the event.
|
java.util.Date |
getNotBefore()
The earliest start time of the event.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
A description of the event.
|
void |
setEventId(java.lang.String eventId)
The ID of this event.
|
void |
setEventType(java.lang.String eventType)
The type of this event.
|
void |
setNotAfter(java.util.Date notAfter)
The latest end time of the event.
|
void |
setNotBefore(java.util.Date notBefore)
The earliest start time of the event.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VolumeStatusEvent |
withDescription(java.lang.String description)
A description of the event.
|
VolumeStatusEvent |
withEventId(java.lang.String eventId)
The ID of this event.
|
VolumeStatusEvent |
withEventType(java.lang.String eventType)
The type of this event.
|
VolumeStatusEvent |
withNotAfter(java.util.Date notAfter)
The latest end time of the event.
|
VolumeStatusEvent |
withNotBefore(java.util.Date notBefore)
The earliest start time of the event.
|
private java.lang.String eventType
The type of this event.
private java.lang.String description
A description of the event.
private java.util.Date notBefore
The earliest start time of the event.
private java.util.Date notAfter
The latest end time of the event.
private java.lang.String eventId
The ID of this event.
public void setEventType(java.lang.String eventType)
The type of this event.
eventType
- The type of this event.public java.lang.String getEventType()
The type of this event.
public VolumeStatusEvent withEventType(java.lang.String eventType)
The type of this event.
eventType
- The type of this event.public void setDescription(java.lang.String description)
A description of the event.
description
- A description of the event.public java.lang.String getDescription()
A description of the event.
public VolumeStatusEvent withDescription(java.lang.String description)
A description of the event.
description
- A description of the event.public void setNotBefore(java.util.Date notBefore)
The earliest start time of the event.
notBefore
- The earliest start time of the event.public java.util.Date getNotBefore()
The earliest start time of the event.
public VolumeStatusEvent withNotBefore(java.util.Date notBefore)
The earliest start time of the event.
notBefore
- The earliest start time of the event.public void setNotAfter(java.util.Date notAfter)
The latest end time of the event.
notAfter
- The latest end time of the event.public java.util.Date getNotAfter()
The latest end time of the event.
public VolumeStatusEvent withNotAfter(java.util.Date notAfter)
The latest end time of the event.
notAfter
- The latest end time of the event.public void setEventId(java.lang.String eventId)
The ID of this event.
eventId
- The ID of this event.public java.lang.String getEventId()
The ID of this event.
public VolumeStatusEvent withEventId(java.lang.String eventId)
The ID of this event.
eventId
- The ID of this event.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public VolumeStatusEvent clone()
clone
in class java.lang.Object