com.amazonaws.services.ec2.model
Class ExportToS3Task

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

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

See Also:
Serialized Form

Constructor Summary
ExportToS3Task()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getContainerFormat()
          The container format used to combine disk images with metadata (such as OVF).
 java.lang.String getDiskImageFormat()
          The format for the exported image.
 java.lang.String getS3Bucket()
          The Amazon S3 bucket for the destination image.
 java.lang.String getS3Key()
           
 int hashCode()
           
 void setContainerFormat(ContainerFormat containerFormat)
          The container format used to combine disk images with metadata (such as OVF).
 void setContainerFormat(java.lang.String containerFormat)
          The container format used to combine disk images with metadata (such as OVF).
 void setDiskImageFormat(DiskImageFormat diskImageFormat)
          The format for the exported image.
 void setDiskImageFormat(java.lang.String diskImageFormat)
          The format for the exported image.
 void setS3Bucket(java.lang.String s3Bucket)
          The Amazon S3 bucket for the destination image.
 void setS3Key(java.lang.String s3Key)
           
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ExportToS3Task withContainerFormat(ContainerFormat containerFormat)
          The container format used to combine disk images with metadata (such as OVF).
 ExportToS3Task withContainerFormat(java.lang.String containerFormat)
          The container format used to combine disk images with metadata (such as OVF).
 ExportToS3Task withDiskImageFormat(DiskImageFormat diskImageFormat)
          The format for the exported image.
 ExportToS3Task withDiskImageFormat(java.lang.String diskImageFormat)
          The format for the exported image.
 ExportToS3Task withS3Bucket(java.lang.String s3Bucket)
          The Amazon S3 bucket for the destination image.
 ExportToS3Task withS3Key(java.lang.String s3Key)
           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

ExportToS3Task

public ExportToS3Task()
Method Detail

getDiskImageFormat

public java.lang.String getDiskImageFormat()
The format for the exported image.

Constraints:
Allowed Values: VMDK, RAW, VHD

Returns:
The format for the exported image.
See Also:
DiskImageFormat

setDiskImageFormat

public void setDiskImageFormat(java.lang.String diskImageFormat)
The format for the exported image.

Constraints:
Allowed Values: VMDK, RAW, VHD

Parameters:
diskImageFormat - The format for the exported image.
See Also:
DiskImageFormat

withDiskImageFormat

public ExportToS3Task withDiskImageFormat(java.lang.String diskImageFormat)
The format for the exported image.

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

Constraints:
Allowed Values: VMDK, RAW, VHD

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

setDiskImageFormat

public void setDiskImageFormat(DiskImageFormat diskImageFormat)
The format for the exported image.

Constraints:
Allowed Values: VMDK, RAW, VHD

Parameters:
diskImageFormat - The format for the exported image.
See Also:
DiskImageFormat

withDiskImageFormat

public ExportToS3Task withDiskImageFormat(DiskImageFormat diskImageFormat)
The format for the exported image.

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

Constraints:
Allowed Values: VMDK, RAW, VHD

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

getContainerFormat

public java.lang.String getContainerFormat()
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.

Constraints:
Allowed Values: ova

Returns:
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
See Also:
ContainerFormat

setContainerFormat

public void setContainerFormat(java.lang.String containerFormat)
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.

Constraints:
Allowed Values: ova

Parameters:
containerFormat - The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
See Also:
ContainerFormat

withContainerFormat

public ExportToS3Task withContainerFormat(java.lang.String containerFormat)
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.

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

Constraints:
Allowed Values: ova

Parameters:
containerFormat - The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ContainerFormat

setContainerFormat

public void setContainerFormat(ContainerFormat containerFormat)
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.

Constraints:
Allowed Values: ova

Parameters:
containerFormat - The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
See Also:
ContainerFormat

withContainerFormat

public ExportToS3Task withContainerFormat(ContainerFormat containerFormat)
The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.

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

Constraints:
Allowed Values: ova

Parameters:
containerFormat - The container format used to combine disk images with metadata (such as OVF). If absent, only the disk image is exported.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ContainerFormat

getS3Bucket

public java.lang.String getS3Bucket()
The Amazon S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACL permissions to the AWS account [email protected].

Returns:
The Amazon S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACL permissions to the AWS account [email protected].

setS3Bucket

public void setS3Bucket(java.lang.String s3Bucket)
The Amazon S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACL permissions to the AWS account [email protected].

Parameters:
s3Bucket - The Amazon S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACL permissions to the AWS account [email protected].

withS3Bucket

public ExportToS3Task withS3Bucket(java.lang.String s3Bucket)
The Amazon S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACL permissions to the AWS account [email protected].

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

Parameters:
s3Bucket - The Amazon S3 bucket for the destination image. The destination bucket must exist and grant WRITE and READ_ACL permissions to the AWS account [email protected].
Returns:
A reference to this updated object so that method calls can be chained together.

getS3Key

public java.lang.String getS3Key()
Returns:

setS3Key

public void setS3Key(java.lang.String s3Key)
Parameters:
s3Key -

withS3Key

public ExportToS3Task withS3Key(java.lang.String s3Key)

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

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