@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 void setDescription(String description)
A description of the event.
description
- A description of the event.public String getDescription()
A description of the event.
public VolumeStatusEvent withDescription(String description)
A description of the event.
description
- A description of the event.public void setEventId(String eventId)
The ID of this event.
eventId
- The ID of this event.public String getEventId()
The ID of this event.
public VolumeStatusEvent withEventId(String eventId)
The ID of this event.
eventId
- The ID of this event.public void setEventType(String eventType)
The type of this event.
eventType
- The type of this event.public String getEventType()
The type of this event.
public VolumeStatusEvent withEventType(String eventType)
The type of this event.
eventType
- The type of this event.public void setNotAfter(Date notAfter)
The latest end time of the event.
notAfter
- The latest end time of the event.public Date getNotAfter()
The latest end time of the event.
public VolumeStatusEvent withNotAfter(Date notAfter)
The latest end time of the event.
notAfter
- The latest end time of the event.public void setNotBefore(Date notBefore)
The earliest start time of the event.
notBefore
- The earliest start time of the event.public Date getNotBefore()
The earliest start time of the event.
public VolumeStatusEvent withNotBefore(Date notBefore)
The earliest start time of the event.
notBefore
- The earliest start time of the event.public String toString()
toString
in class Object
Object.toString()
public VolumeStatusEvent clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.