com.amazonaws.services.ec2.model
Class VolumeStatusItem

java.lang.Object
  extended by com.amazonaws.services.ec2.model.VolumeStatusItem

public class VolumeStatusItem
extends Object

Volume Status Item


Constructor Summary
VolumeStatusItem()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<VolumeStatusAction> getActions()
          Returns the value of the Actions property for this object.
 String getAvailabilityZone()
          Returns the value of the AvailabilityZone property for this object.
 List<VolumeStatusEvent> getEvents()
          Returns the value of the Events property for this object.
 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(Collection<VolumeStatusAction> actions)
          Sets the value of the Actions property for this object.
 void setAvailabilityZone(String availabilityZone)
          Sets the value of the AvailabilityZone property for this object.
 void setEvents(Collection<VolumeStatusEvent> events)
          Sets the value of the Events property for this object.
 void setVolumeId(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.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 VolumeStatusItem withActions(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(String availabilityZone)
          Sets the value of the AvailabilityZone property for this object.
 VolumeStatusItem withEvents(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(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 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(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(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.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZone

public 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(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(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.
Returns:
A reference to this updated object so that method calls can be chained together.

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.
Returns:
A reference to this updated object so that method calls can be chained together.

getEvents

public 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(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.
Returns:
A reference to this updated object so that method calls can be chained together.

withEvents

public VolumeStatusItem withEvents(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.
Returns:
A reference to this updated object so that method calls can be chained together.

getActions

public 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(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.
Returns:
A reference to this updated object so that method calls can be chained together.

withActions

public VolumeStatusItem withActions(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.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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