com.amazonaws.services.ec2.model
Class DiskImageDescription

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

public class DiskImageDescription
extends Object

Disk Image Description


Constructor Summary
DiskImageDescription()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getChecksum()
          Returns the value of the Checksum property for this object.
 String getFormat()
          Returns the value of the Format property for this object.
 String getImportManifestUrl()
          Returns the value of the ImportManifestUrl property for this object.
 Long getSize()
          Returns the value of the Size property for this object.
 int hashCode()
           
 void setChecksum(String checksum)
          Sets the value of the Checksum property for this object.
 void setFormat(String format)
          Sets the value of the Format property for this object.
 void setImportManifestUrl(String importManifestUrl)
          Sets the value of the ImportManifestUrl property for this object.
 void setSize(Long size)
          Sets the value of the Size property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DiskImageDescription withChecksum(String checksum)
          Sets the value of the Checksum property for this object.
 DiskImageDescription withFormat(String format)
          Sets the value of the Format property for this object.
 DiskImageDescription withImportManifestUrl(String importManifestUrl)
          Sets the value of the ImportManifestUrl property for this object.
 DiskImageDescription withSize(Long size)
          Sets the value of the Size property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiskImageDescription

public DiskImageDescription()
Method Detail

getFormat

public String getFormat()
Returns the value of the Format property for this object.

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

setFormat

public void setFormat(String format)
Sets the value of the Format property for this object.

Parameters:
format - The new value for the Format property for this object.

withFormat

public DiskImageDescription withFormat(String format)
Sets the value of the Format property for this object.

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

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

getSize

public Long getSize()
Returns the value of the Size property for this object.

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

setSize

public void setSize(Long size)
Sets the value of the Size property for this object.

Parameters:
size - The new value for the Size property for this object.

withSize

public DiskImageDescription withSize(Long size)
Sets the value of the Size property for this object.

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

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

getImportManifestUrl

public String getImportManifestUrl()
Returns the value of the ImportManifestUrl property for this object.

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

setImportManifestUrl

public void setImportManifestUrl(String importManifestUrl)
Sets the value of the ImportManifestUrl property for this object.

Parameters:
importManifestUrl - The new value for the ImportManifestUrl property for this object.

withImportManifestUrl

public DiskImageDescription withImportManifestUrl(String importManifestUrl)
Sets the value of the ImportManifestUrl property for this object.

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

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

getChecksum

public String getChecksum()
Returns the value of the Checksum property for this object.

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

setChecksum

public void setChecksum(String checksum)
Sets the value of the Checksum property for this object.

Parameters:
checksum - The new value for the Checksum property for this object.

withChecksum

public DiskImageDescription withChecksum(String checksum)
Sets the value of the Checksum property for this object.

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

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