com.amazonaws.services.ec2.model
Class DiskImage

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

public class DiskImage
extends Object

Disk Image


Constructor Summary
DiskImage()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
          Returns the value of the Description property for this object.
 DiskImageDetail getImage()
          Returns the value of the Image property for this object.
 VolumeDetail getVolume()
          Returns the value of the Volume property for this object.
 int hashCode()
           
 void setDescription(String description)
          Sets the value of the Description property for this object.
 void setImage(DiskImageDetail image)
          Sets the value of the Image property for this object.
 void setVolume(VolumeDetail volume)
          Sets the value of the Volume property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DiskImage withDescription(String description)
          Sets the value of the Description property for this object.
 DiskImage withImage(DiskImageDetail image)
          Sets the value of the Image property for this object.
 DiskImage withVolume(VolumeDetail volume)
          Sets the value of the Volume property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiskImage

public DiskImage()
Method Detail

getImage

public DiskImageDetail getImage()
Returns the value of the Image property for this object.

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

setImage

public void setImage(DiskImageDetail image)
Sets the value of the Image property for this object.

Parameters:
image - The new value for the Image property for this object.

withImage

public DiskImage withImage(DiskImageDetail image)
Sets the value of the Image property for this object.

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

Parameters:
image - The new value for the Image property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
Returns the value of the Description property for this object.

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

setDescription

public void setDescription(String description)
Sets the value of the Description property for this object.

Parameters:
description - The new value for the Description property for this object.

withDescription

public DiskImage withDescription(String description)
Sets the value of the Description property for this object.

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

Parameters:
description - The new value for the Description property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getVolume

public VolumeDetail getVolume()
Returns the value of the Volume property for this object.

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

setVolume

public void setVolume(VolumeDetail volume)
Sets the value of the Volume property for this object.

Parameters:
volume - The new value for the Volume property for this object.

withVolume

public DiskImage withVolume(VolumeDetail volume)
Sets the value of the Volume property for this object.

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

Parameters:
volume - The new value for the Volume 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.