public class VolumeStatusEvent
extends java.lang.Object
implements java.io.Serializable
Describes a volume status event.
| Constructor and Description |
|---|
VolumeStatusEvent() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public java.lang.String getEventType()
public void setEventType(java.lang.String eventType)
eventType - The type of this event.public VolumeStatusEvent withEventType(java.lang.String eventType)
Returns a reference to this object so that method calls can be chained together.
eventType - The type of this event.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - A description of the event.public VolumeStatusEvent withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description - A description of the event.public java.util.Date getNotBefore()
public void setNotBefore(java.util.Date notBefore)
notBefore - The earliest start time of the event.public VolumeStatusEvent withNotBefore(java.util.Date notBefore)
Returns a reference to this object so that method calls can be chained together.
notBefore - The earliest start time of the event.public java.util.Date getNotAfter()
public void setNotAfter(java.util.Date notAfter)
notAfter - The latest end time of the event.public VolumeStatusEvent withNotAfter(java.util.Date notAfter)
Returns a reference to this object so that method calls can be chained together.
notAfter - The latest end time of the event.public java.lang.String getEventId()
public void setEventId(java.lang.String eventId)
eventId - The ID of this event.public VolumeStatusEvent withEventId(java.lang.String eventId)
Returns a reference to this object so that method calls can be chained together.
eventId - The ID of this event.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.