com.amazonaws.services.ec2.model
Class DiskImageDescription

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

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

See Also:
Serialized Form

Constructor Summary
DiskImageDescription()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getChecksum()
          The checksum computed for the disk image.
 java.lang.String getFormat()
          The disk image format.
 java.lang.String getImportManifestUrl()
          A presigned URL for the import manifest stored in Amazon S3.
 java.lang.Long getSize()
          The size of the disk image.
 int hashCode()
           
 void setChecksum(java.lang.String checksum)
          The checksum computed for the disk image.
 void setFormat(DiskImageFormat format)
          The disk image format.
 void setFormat(java.lang.String format)
          The disk image format.
 void setImportManifestUrl(java.lang.String importManifestUrl)
          A presigned URL for the import manifest stored in Amazon S3.
 void setSize(java.lang.Long size)
          The size of the disk image.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DiskImageDescription withChecksum(java.lang.String checksum)
          The checksum computed for the disk image.
 DiskImageDescription withFormat(DiskImageFormat format)
          The disk image format.
 DiskImageDescription withFormat(java.lang.String format)
          The disk image format.
 DiskImageDescription withImportManifestUrl(java.lang.String importManifestUrl)
          A presigned URL for the import manifest stored in Amazon S3.
 DiskImageDescription withSize(java.lang.Long size)
          The size of the disk image.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiskImageDescription

public DiskImageDescription()
Method Detail

getFormat

public java.lang.String getFormat()
The disk image format.

Constraints:
Allowed Values: VMDK, RAW, VHD

Returns:
The disk image format.
See Also:
DiskImageFormat

setFormat

public void setFormat(java.lang.String format)
The disk image format.

Constraints:
Allowed Values: VMDK, RAW, VHD

Parameters:
format - The disk image format.
See Also:
DiskImageFormat

withFormat

public DiskImageDescription withFormat(java.lang.String format)
The disk image format.

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

Constraints:
Allowed Values: VMDK, RAW, VHD

Parameters:
format - The disk image format.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
DiskImageFormat

setFormat

public void setFormat(DiskImageFormat format)
The disk image format.

Constraints:
Allowed Values: VMDK, RAW, VHD

Parameters:
format - The disk image format.
See Also:
DiskImageFormat

withFormat

public DiskImageDescription withFormat(DiskImageFormat format)
The disk image format.

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

Constraints:
Allowed Values: VMDK, RAW, VHD

Parameters:
format - The disk image format.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
DiskImageFormat

getSize

public java.lang.Long getSize()
The size of the disk image.

Returns:
The size of the disk image.

setSize

public void setSize(java.lang.Long size)
The size of the disk image.

Parameters:
size - The size of the disk image.

withSize

public DiskImageDescription withSize(java.lang.Long size)
The size of the disk image.

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

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

getImportManifestUrl

public java.lang.String getImportManifestUrl()
A presigned URL for the import manifest stored in Amazon S3. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.

Returns:
A presigned URL for the import manifest stored in Amazon S3. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.

setImportManifestUrl

public void setImportManifestUrl(java.lang.String importManifestUrl)
A presigned URL for the import manifest stored in Amazon S3. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.

Parameters:
importManifestUrl - A presigned URL for the import manifest stored in Amazon S3. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.

withImportManifestUrl

public DiskImageDescription withImportManifestUrl(java.lang.String importManifestUrl)
A presigned URL for the import manifest stored in Amazon S3. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.

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

Parameters:
importManifestUrl - A presigned URL for the import manifest stored in Amazon S3. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.
Returns:
A reference to this updated object so that method calls can be chained together.

getChecksum

public java.lang.String getChecksum()
The checksum computed for the disk image.

Returns:
The checksum computed for the disk image.

setChecksum

public void setChecksum(java.lang.String checksum)
The checksum computed for the disk image.

Parameters:
checksum - The checksum computed for the disk image.

withChecksum

public DiskImageDescription withChecksum(java.lang.String checksum)
The checksum computed for the disk image.

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

Parameters:
checksum - The checksum computed for the disk image.
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.