@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageDiskContainer extends Object implements Serializable, Cloneable
Describes the disk container object for an import image task.
Constructor and Description |
---|
ImageDiskContainer() |
Modifier and Type | Method and Description |
---|---|
ImageDiskContainer |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the disk image.
|
String |
getDeviceName()
The block device mapping for the disk.
|
String |
getFormat()
The format of the disk image being imported.
|
String |
getSnapshotId()
The ID of the EBS snapshot to be used for importing the snapshot.
|
String |
getUrl()
The URL to the Amazon S3-based disk image being imported.
|
UserBucket |
getUserBucket()
The S3 bucket for the disk image.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the disk image.
|
void |
setDeviceName(String deviceName)
The block device mapping for the disk.
|
void |
setFormat(String format)
The format of the disk image being imported.
|
void |
setSnapshotId(String snapshotId)
The ID of the EBS snapshot to be used for importing the snapshot.
|
void |
setUrl(String url)
The URL to the Amazon S3-based disk image being imported.
|
void |
setUserBucket(UserBucket userBucket)
The S3 bucket for the disk image.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ImageDiskContainer |
withDescription(String description)
The description of the disk image.
|
ImageDiskContainer |
withDeviceName(String deviceName)
The block device mapping for the disk.
|
ImageDiskContainer |
withFormat(String format)
The format of the disk image being imported.
|
ImageDiskContainer |
withSnapshotId(String snapshotId)
The ID of the EBS snapshot to be used for importing the snapshot.
|
ImageDiskContainer |
withUrl(String url)
The URL to the Amazon S3-based disk image being imported.
|
ImageDiskContainer |
withUserBucket(UserBucket userBucket)
The S3 bucket for the disk image.
|
public void setDescription(String description)
The description of the disk image.
description
- The description of the disk image.public String getDescription()
The description of the disk image.
public ImageDiskContainer withDescription(String description)
The description of the disk image.
description
- The description of the disk image.public void setDeviceName(String deviceName)
The block device mapping for the disk.
deviceName
- The block device mapping for the disk.public String getDeviceName()
The block device mapping for the disk.
public ImageDiskContainer withDeviceName(String deviceName)
The block device mapping for the disk.
deviceName
- The block device mapping for the disk.public void setFormat(String format)
The format of the disk image being imported.
Valid values: RAW
| VHD
| VMDK
| OVA
format
- The format of the disk image being imported.
Valid values: RAW
| VHD
| VMDK
| OVA
public String getFormat()
The format of the disk image being imported.
Valid values: RAW
| VHD
| VMDK
| OVA
Valid values: RAW
| VHD
| VMDK
| OVA
public ImageDiskContainer withFormat(String format)
The format of the disk image being imported.
Valid values: RAW
| VHD
| VMDK
| OVA
format
- The format of the disk image being imported.
Valid values: RAW
| VHD
| VMDK
| OVA
public void setSnapshotId(String snapshotId)
The ID of the EBS snapshot to be used for importing the snapshot.
snapshotId
- The ID of the EBS snapshot to be used for importing the snapshot.public String getSnapshotId()
The ID of the EBS snapshot to be used for importing the snapshot.
public ImageDiskContainer withSnapshotId(String snapshotId)
The ID of the EBS snapshot to be used for importing the snapshot.
snapshotId
- The ID of the EBS snapshot to be used for importing the snapshot.public void setUrl(String url)
The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an Amazon S3 URL (s3://..)
url
- The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..)
or an Amazon S3 URL (s3://..)public String getUrl()
The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an Amazon S3 URL (s3://..)
public ImageDiskContainer withUrl(String url)
The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..) or an Amazon S3 URL (s3://..)
url
- The URL to the Amazon S3-based disk image being imported. The URL can either be a https URL (https://..)
or an Amazon S3 URL (s3://..)public void setUserBucket(UserBucket userBucket)
The S3 bucket for the disk image.
userBucket
- The S3 bucket for the disk image.public UserBucket getUserBucket()
The S3 bucket for the disk image.
public ImageDiskContainer withUserBucket(UserBucket userBucket)
The S3 bucket for the disk image.
userBucket
- The S3 bucket for the disk image.public String toString()
toString
in class Object
Object.toString()
public ImageDiskContainer clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.