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