|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.VolumeStatusEvent
public class VolumeStatusEvent
Describes a volume status event.
Constructor Summary | |
---|---|
VolumeStatusEvent()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VolumeStatusEvent()
Method Detail |
---|
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 Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |