com.amazonaws.services.ec2.model
Class DiskImage

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

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

Describes a disk image.

See Also:
Serialized Form

Constructor Summary
DiskImage()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDescription()
           
 DiskImageDetail getImage()
           
 VolumeDetail getVolume()
           
 int hashCode()
           
 void setDescription(java.lang.String description)
           
 void setImage(DiskImageDetail image)
           
 void setVolume(VolumeDetail volume)
           
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DiskImage withDescription(java.lang.String description)
           Returns a reference to this object so that method calls can be chained together.
 DiskImage withImage(DiskImageDetail image)
           Returns a reference to this object so that method calls can be chained together.
 DiskImage withVolume(VolumeDetail volume)
           Returns a reference to this object so that method calls can be chained together.
 
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:

setImage

public void setImage(DiskImageDetail image)
Parameters:
image -

withImage

public DiskImage withImage(DiskImageDetail image)

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

Parameters:
image -
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public java.lang.String getDescription()
Returns:

setDescription

public void setDescription(java.lang.String description)
Parameters:
description -

withDescription

public DiskImage withDescription(java.lang.String description)

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

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

getVolume

public VolumeDetail getVolume()
Returns:

setVolume

public void setVolume(VolumeDetail volume)
Parameters:
volume -

withVolume

public DiskImage withVolume(VolumeDetail volume)

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

Parameters:
volume -
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.