com.amazonaws.services.ec2.model
Class ExportToS3TaskSpecification

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

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

See Also:
Serialized Form

Constructor Summary
ExportToS3TaskSpecification()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getContainerFormat()
           Constraints:
Allowed Values: ova
 java.lang.String getDiskImageFormat()
           Constraints:
Allowed Values: VMDK, RAW, VHD
 java.lang.String getS3Bucket()
           
 java.lang.String getS3Prefix()
          The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.
 int hashCode()
           
 void setContainerFormat(ContainerFormat containerFormat)
           Constraints:
Allowed Values: ova
 void setContainerFormat(java.lang.String containerFormat)
           Constraints:
Allowed Values: ova
 void setDiskImageFormat(DiskImageFormat diskImageFormat)
           Constraints:
Allowed Values: VMDK, RAW, VHD
 void setDiskImageFormat(java.lang.String diskImageFormat)
           Constraints:
Allowed Values: VMDK, RAW, VHD
 void setS3Bucket(java.lang.String s3Bucket)
           
 void setS3Prefix(java.lang.String s3Prefix)
          The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ExportToS3TaskSpecification withContainerFormat(ContainerFormat containerFormat)
           Returns a reference to this object so that method calls can be chained together.
 ExportToS3TaskSpecification withContainerFormat(java.lang.String containerFormat)
           Returns a reference to this object so that method calls can be chained together.
 ExportToS3TaskSpecification withDiskImageFormat(DiskImageFormat diskImageFormat)
           Returns a reference to this object so that method calls can be chained together.
 ExportToS3TaskSpecification withDiskImageFormat(java.lang.String diskImageFormat)
           Returns a reference to this object so that method calls can be chained together.
 ExportToS3TaskSpecification withS3Bucket(java.lang.String s3Bucket)
           Returns a reference to this object so that method calls can be chained together.
 ExportToS3TaskSpecification withS3Prefix(java.lang.String s3Prefix)
          The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExportToS3TaskSpecification

public ExportToS3TaskSpecification()
Method Detail

getDiskImageFormat

public java.lang.String getDiskImageFormat()

Constraints:
Allowed Values: VMDK, RAW, VHD

Returns:
See Also:
DiskImageFormat

setDiskImageFormat

public void setDiskImageFormat(java.lang.String diskImageFormat)

Constraints:
Allowed Values: VMDK, RAW, VHD

Parameters:
diskImageFormat -
See Also:
DiskImageFormat

withDiskImageFormat

public ExportToS3TaskSpecification withDiskImageFormat(java.lang.String diskImageFormat)

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

Constraints:
Allowed Values: VMDK, RAW, VHD

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

setDiskImageFormat

public void setDiskImageFormat(DiskImageFormat diskImageFormat)

Constraints:
Allowed Values: VMDK, RAW, VHD

Parameters:
diskImageFormat -
See Also:
DiskImageFormat

withDiskImageFormat

public ExportToS3TaskSpecification withDiskImageFormat(DiskImageFormat diskImageFormat)

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

Constraints:
Allowed Values: VMDK, RAW, VHD

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

getContainerFormat

public java.lang.String getContainerFormat()

Constraints:
Allowed Values: ova

Returns:
See Also:
ContainerFormat

setContainerFormat

public void setContainerFormat(java.lang.String containerFormat)

Constraints:
Allowed Values: ova

Parameters:
containerFormat -
See Also:
ContainerFormat

withContainerFormat

public ExportToS3TaskSpecification withContainerFormat(java.lang.String containerFormat)

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

Constraints:
Allowed Values: ova

Parameters:
containerFormat -
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ContainerFormat

setContainerFormat

public void setContainerFormat(ContainerFormat containerFormat)

Constraints:
Allowed Values: ova

Parameters:
containerFormat -
See Also:
ContainerFormat

withContainerFormat

public ExportToS3TaskSpecification withContainerFormat(ContainerFormat containerFormat)

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

Constraints:
Allowed Values: ova

Parameters:
containerFormat -
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ContainerFormat

getS3Bucket

public java.lang.String getS3Bucket()
Returns:

setS3Bucket

public void setS3Bucket(java.lang.String s3Bucket)
Parameters:
s3Bucket -

withS3Bucket

public ExportToS3TaskSpecification withS3Bucket(java.lang.String s3Bucket)

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

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

getS3Prefix

public java.lang.String getS3Prefix()
The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.

Returns:
The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.

setS3Prefix

public void setS3Prefix(java.lang.String s3Prefix)
The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.

Parameters:
s3Prefix - The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.

withS3Prefix

public ExportToS3TaskSpecification withS3Prefix(java.lang.String s3Prefix)
The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.

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

Parameters:
s3Prefix - The image is written to a single object in the Amazon S3 bucket at the S3 key s3prefix + exportTaskId + '.' + diskImageFormat.
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.