@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnapshotDiskContainer extends Object implements Serializable, Cloneable
The disk container object for the import snapshot request.
Constructor and Description |
---|
SnapshotDiskContainer() |
Modifier and Type | Method and Description |
---|---|
SnapshotDiskContainer |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the disk image being imported.
|
String |
getFormat()
The format of the disk image being imported.
|
String |
getUrl()
The URL to the Amazon S3-based disk image being imported.
|
UserBucket |
getUserBucket()
The Amazon S3 bucket for the disk image.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the disk image being imported.
|
void |
setFormat(String format)
The format of the disk image being imported.
|
void |
setUrl(String url)
The URL to the Amazon S3-based disk image being imported.
|
void |
setUserBucket(UserBucket userBucket)
The Amazon S3 bucket for the disk image.
|
String |
toString()
Returns a string representation of this object.
|
SnapshotDiskContainer |
withDescription(String description)
The description of the disk image being imported.
|
SnapshotDiskContainer |
withFormat(String format)
The format of the disk image being imported.
|
SnapshotDiskContainer |
withUrl(String url)
The URL to the Amazon S3-based disk image being imported.
|
SnapshotDiskContainer |
withUserBucket(UserBucket userBucket)
The Amazon S3 bucket for the disk image.
|
public void setDescription(String description)
The description of the disk image being imported.
description
- The description of the disk image being imported.public String getDescription()
The description of the disk image being imported.
public SnapshotDiskContainer withDescription(String description)
The description of the disk image being imported.
description
- The description of the disk image being imported.public void setFormat(String format)
The format of the disk image being imported.
Valid values: VHD
| VMDK
| RAW
format
- The format of the disk image being imported.
Valid values: VHD
| VMDK
| RAW
public String getFormat()
The format of the disk image being imported.
Valid values: VHD
| VMDK
| RAW
Valid values: VHD
| VMDK
| RAW
public SnapshotDiskContainer withFormat(String format)
The format of the disk image being imported.
Valid values: VHD
| VMDK
| RAW
format
- The format of the disk image being imported.
Valid values: VHD
| VMDK
| RAW
public void setUrl(String url)
The URL to the Amazon S3-based disk image being imported. It 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. It 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. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).
public SnapshotDiskContainer withUrl(String url)
The URL to the Amazon S3-based disk image being imported. It 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. It can either be a https URL (https://..) or an
Amazon S3 URL (s3://..).public void setUserBucket(UserBucket userBucket)
The Amazon S3 bucket for the disk image.
userBucket
- The Amazon S3 bucket for the disk image.public UserBucket getUserBucket()
The Amazon S3 bucket for the disk image.
public SnapshotDiskContainer withUserBucket(UserBucket userBucket)
The Amazon S3 bucket for the disk image.
userBucket
- The Amazon S3 bucket for the disk image.public String toString()
toString
in class Object
Object.toString()
public SnapshotDiskContainer clone()