com.amazonaws.services.ec2.model
Class VolumeStatusItem

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

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

Describes the volume status.

See Also:
Serialized Form

Constructor Summary
VolumeStatusItem()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<VolumeStatusAction> getActions()
          The details of the operation.
 java.lang.String getAvailabilityZone()
          The Availability Zone of the volume.
 java.util.List<VolumeStatusEvent> getEvents()
          A list of events associated with the volume.
 java.lang.String getVolumeId()
          The volume ID.
 VolumeStatusInfo getVolumeStatus()
          The volume status.
 int hashCode()
           
 void setActions(java.util.Collection<VolumeStatusAction> actions)
          The details of the operation.
 void setAvailabilityZone(java.lang.String availabilityZone)
          The Availability Zone of the volume.
 void setEvents(java.util.Collection<VolumeStatusEvent> events)
          A list of events associated with the volume.
 void setVolumeId(java.lang.String volumeId)
          The volume ID.
 void setVolumeStatus(VolumeStatusInfo volumeStatus)
          The volume status.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 VolumeStatusItem withActions(java.util.Collection<VolumeStatusAction> actions)
          The details of the operation.
 VolumeStatusItem withActions(VolumeStatusAction... actions)
          The details of the operation.
 VolumeStatusItem withAvailabilityZone(java.lang.String availabilityZone)
          The Availability Zone of the volume.
 VolumeStatusItem withEvents(java.util.Collection<VolumeStatusEvent> events)
          A list of events associated with the volume.
 VolumeStatusItem withEvents(VolumeStatusEvent... events)
          A list of events associated with the volume.
 VolumeStatusItem withVolumeId(java.lang.String volumeId)
          The volume ID.
 VolumeStatusItem withVolumeStatus(VolumeStatusInfo volumeStatus)
          The volume status.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VolumeStatusItem

public VolumeStatusItem()
Method Detail

getVolumeId

public java.lang.String getVolumeId()
The volume ID.

Returns:
The volume ID.

setVolumeId

public void setVolumeId(java.lang.String volumeId)
The volume ID.

Parameters:
volumeId - The volume ID.

withVolumeId

public VolumeStatusItem withVolumeId(java.lang.String volumeId)
The volume ID.

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

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

getAvailabilityZone

public java.lang.String getAvailabilityZone()
The Availability Zone of the volume.

Returns:
The Availability Zone of the volume.

setAvailabilityZone

public void setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone of the volume.

Parameters:
availabilityZone - The Availability Zone of the volume.

withAvailabilityZone

public VolumeStatusItem withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone of the volume.

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

Parameters:
availabilityZone - The Availability Zone of the volume.
Returns:
A reference to this updated object so that method calls can be chained together.

getVolumeStatus

public VolumeStatusInfo getVolumeStatus()
The volume status.

Returns:
The volume status.

setVolumeStatus

public void setVolumeStatus(VolumeStatusInfo volumeStatus)
The volume status.

Parameters:
volumeStatus - The volume status.

withVolumeStatus

public VolumeStatusItem withVolumeStatus(VolumeStatusInfo volumeStatus)
The volume status.

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

Parameters:
volumeStatus - The volume status.
Returns:
A reference to this updated object so that method calls can be chained together.

getEvents

public java.util.List<VolumeStatusEvent> getEvents()
A list of events associated with the volume.

Returns:
A list of events associated with the volume.

setEvents

public void setEvents(java.util.Collection<VolumeStatusEvent> events)
A list of events associated with the volume.

Parameters:
events - A list of events associated with the volume.

withEvents

public VolumeStatusItem withEvents(VolumeStatusEvent... events)
A list of events associated with the volume.

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

Parameters:
events - A list of events associated with the volume.
Returns:
A reference to this updated object so that method calls can be chained together.

withEvents

public VolumeStatusItem withEvents(java.util.Collection<VolumeStatusEvent> events)
A list of events associated with the volume.

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

Parameters:
events - A list of events associated with the volume.
Returns:
A reference to this updated object so that method calls can be chained together.

getActions

public java.util.List<VolumeStatusAction> getActions()
The details of the operation.

Returns:
The details of the operation.

setActions

public void setActions(java.util.Collection<VolumeStatusAction> actions)
The details of the operation.

Parameters:
actions - The details of the operation.

withActions

public VolumeStatusItem withActions(VolumeStatusAction... actions)
The details of the operation.

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

Parameters:
actions - The details of the operation.
Returns:
A reference to this updated object so that method calls can be chained together.

withActions

public VolumeStatusItem withActions(java.util.Collection<VolumeStatusAction> actions)
The details of the operation.

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

Parameters:
actions - The details of the operation.
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.