Did this page help you?

   Yes   No   Tell us about it...

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

Volume Status Item

See Also:
Serialized Form

Constructor Summary
VolumeStatusItem()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<VolumeStatusAction> getActions()
          Returns the value of the Actions property for this object.
 java.lang.String getAvailabilityZone()
          Returns the value of the AvailabilityZone property for this object.
 java.util.List<VolumeStatusEvent> getEvents()
          Returns the value of the Events property for this object.
 java.lang.String getVolumeId()
          Returns the value of the VolumeId property for this object.
 VolumeStatusInfo getVolumeStatus()
          Returns the value of the VolumeStatus property for this object.
 int hashCode()
           
 void setActions(java.util.Collection<VolumeStatusAction> actions)
          Sets the value of the Actions property for this object.
 void setAvailabilityZone(java.lang.String availabilityZone)
          Sets the value of the AvailabilityZone property for this object.
 void setEvents(java.util.Collection<VolumeStatusEvent> events)
          Sets the value of the Events property for this object.
 void setVolumeId(java.lang.String volumeId)
          Sets the value of the VolumeId property for this object.
 void setVolumeStatus(VolumeStatusInfo volumeStatus)
          Sets the value of the VolumeStatus property for this object.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 VolumeStatusItem withActions(java.util.Collection<VolumeStatusAction> actions)
          Sets the value of the Actions property for this object.
 VolumeStatusItem withActions(VolumeStatusAction... actions)
          Sets the value of the Actions property for this object.
 VolumeStatusItem withAvailabilityZone(java.lang.String availabilityZone)
          Sets the value of the AvailabilityZone property for this object.
 VolumeStatusItem withEvents(java.util.Collection<VolumeStatusEvent> events)
          Sets the value of the Events property for this object.
 VolumeStatusItem withEvents(VolumeStatusEvent... events)
          Sets the value of the Events property for this object.
 VolumeStatusItem withVolumeId(java.lang.String volumeId)
          Sets the value of the VolumeId property for this object.
 VolumeStatusItem withVolumeStatus(VolumeStatusInfo volumeStatus)
          Sets the value of the VolumeStatus property for this object.
 
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()
Returns the value of the VolumeId property for this object.

Returns:
The value of the VolumeId property for this object.

setVolumeId

public void setVolumeId(java.lang.String volumeId)
Sets the value of the VolumeId property for this object.

Parameters:
volumeId - The new value for the VolumeId property for this object.

withVolumeId

public VolumeStatusItem withVolumeId(java.lang.String volumeId)
Sets the value of the VolumeId property for this object.

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

Parameters:
volumeId - The new value for the VolumeId property for this object.

getAvailabilityZone

public java.lang.String getAvailabilityZone()
Returns the value of the AvailabilityZone property for this object.

Returns:
The value of the AvailabilityZone property for this object.

setAvailabilityZone

public void setAvailabilityZone(java.lang.String availabilityZone)
Sets the value of the AvailabilityZone property for this object.

Parameters:
availabilityZone - The new value for the AvailabilityZone property for this object.

withAvailabilityZone

public VolumeStatusItem withAvailabilityZone(java.lang.String availabilityZone)
Sets the value of the AvailabilityZone property for this object.

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

Parameters:
availabilityZone - The new value for the AvailabilityZone property for this object.

getVolumeStatus

public VolumeStatusInfo getVolumeStatus()
Returns the value of the VolumeStatus property for this object.

Returns:
The value of the VolumeStatus property for this object.

setVolumeStatus

public void setVolumeStatus(VolumeStatusInfo volumeStatus)
Sets the value of the VolumeStatus property for this object.

Parameters:
volumeStatus - The new value for the VolumeStatus property for this object.

withVolumeStatus

public VolumeStatusItem withVolumeStatus(VolumeStatusInfo volumeStatus)
Sets the value of the VolumeStatus property for this object.

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

Parameters:
volumeStatus - The new value for the VolumeStatus property for this object.

getEvents

public java.util.List<VolumeStatusEvent> getEvents()
Returns the value of the Events property for this object.

Returns:
The value of the Events property for this object.

setEvents

public void setEvents(java.util.Collection<VolumeStatusEvent> events)
Sets the value of the Events property for this object.

Parameters:
events - The new value for the Events property for this object.

withEvents

public VolumeStatusItem withEvents(VolumeStatusEvent... events)
Sets the value of the Events property for this object.

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

Parameters:
events - The new value for the Events property for this object.

withEvents

public VolumeStatusItem withEvents(java.util.Collection<VolumeStatusEvent> events)
Sets the value of the Events property for this object.

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

Parameters:
events - The new value for the Events property for this object.

getActions

public java.util.List<VolumeStatusAction> getActions()
Returns the value of the Actions property for this object.

Returns:
The value of the Actions property for this object.

setActions

public void setActions(java.util.Collection<VolumeStatusAction> actions)
Sets the value of the Actions property for this object.

Parameters:
actions - The new value for the Actions property for this object.

withActions

public VolumeStatusItem withActions(VolumeStatusAction... actions)
Sets the value of the Actions property for this object.

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

Parameters:
actions - The new value for the Actions property for this object.

withActions

public VolumeStatusItem withActions(java.util.Collection<VolumeStatusAction> actions)
Sets the value of the Actions property for this object.

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

Parameters:
actions - The new value for the Actions property for this object.

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.