com.amazonaws.services.ec2.model
Class VolumeStatusEvent

java.lang.Object
  extended by com.amazonaws.services.ec2.model.VolumeStatusEvent
All Implemented Interfaces:
java.io.Serializable

public class VolumeStatusEvent
extends java.lang.Object
implements java.io.Serializable

Describes a volume status event.

See Also:
Serialized Form

Constructor Summary
VolumeStatusEvent()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VolumeStatusEvent

public VolumeStatusEvent()
Method Detail

getEventType

public java.lang.String getEventType()
The type of this event.

Returns:
The type of this event.

setEventType

public void setEventType(java.lang.String eventType)
The type of this event.

Parameters:
eventType - The type of this event.

withEventType

public VolumeStatusEvent withEventType(java.lang.String eventType)
The type of this event.

Returns a reference to this object so that method calls can be chained together.

Parameters:
eventType - The type of this event.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public java.lang.String getDescription()
A description of the event.

Returns:
A description of the event.

setDescription

public void setDescription(java.lang.String description)
A description of the event.

Parameters:
description - A description of the event.

withDescription

public VolumeStatusEvent withDescription(java.lang.String description)
A description of the event.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - A description of the event.
Returns:
A reference to this updated object so that method calls can be chained together.

getNotBefore

public java.util.Date getNotBefore()
The earliest start time of the event.

Returns:
The earliest start time of the event.

setNotBefore

public void setNotBefore(java.util.Date notBefore)
The earliest start time of the event.

Parameters:
notBefore - The earliest start time of the event.

withNotBefore

public VolumeStatusEvent withNotBefore(java.util.Date notBefore)
The earliest start time of the event.

Returns a reference to this object so that method calls can be chained together.

Parameters:
notBefore - The earliest start time of the event.
Returns:
A reference to this updated object so that method calls can be chained together.

getNotAfter

public java.util.Date getNotAfter()
The latest end time of the event.

Returns:
The latest end time of the event.

setNotAfter

public void setNotAfter(java.util.Date notAfter)
The latest end time of the event.

Parameters:
notAfter - The latest end time of the event.

withNotAfter

public VolumeStatusEvent withNotAfter(java.util.Date notAfter)
The latest end time of the event.

Returns a reference to this object so that method calls can be chained together.

Parameters:
notAfter - The latest end time of the event.
Returns:
A reference to this updated object so that method calls can be chained together.

getEventId

public java.lang.String getEventId()
The ID of this event.

Returns:
The ID of this event.

setEventId

public void setEventId(java.lang.String eventId)
The ID of this event.

Parameters:
eventId - The ID of this event.

withEventId

public VolumeStatusEvent withEventId(java.lang.String eventId)
The ID of this event.

Returns a reference to this object so that method calls can be chained together.

Parameters:
eventId - The ID of this event.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.