com.amazonaws.services.ec2.model
Class DiskImageDetail

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

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

See Also:
Serialized Form

Constructor Summary
DiskImageDetail()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Long getBytes()
           
 java.lang.String getFormat()
          The disk image format.
 java.lang.String getImportManifestUrl()
          A presigned URL for the import manifest stored in Amazon S3.
 int hashCode()
           
 void setBytes(java.lang.Long bytes)
           
 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.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DiskImageDetail withBytes(java.lang.Long bytes)
           Returns a reference to this object so that method calls can be chained together.
 DiskImageDetail withFormat(DiskImageFormat format)
          The disk image format.
 DiskImageDetail withFormat(java.lang.String format)
          The disk image format.
 DiskImageDetail withImportManifestUrl(java.lang.String importManifestUrl)
          A presigned URL for the import manifest stored in Amazon S3.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiskImageDetail

public DiskImageDetail()
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 DiskImageDetail 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 DiskImageDetail 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

getBytes

public java.lang.Long getBytes()
Returns:

setBytes

public void setBytes(java.lang.Long bytes)
Parameters:
bytes -

withBytes

public DiskImageDetail withBytes(java.lang.Long bytes)

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

Parameters:
bytes -
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 DiskImageDetail 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.

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.