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() |
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) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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)
Returns a reference to this object so that method calls can be chained together.
|
public String getDescription()
public void setDescription(String description)
description
- The description of the disk image being imported.public SnapshotDiskContainer withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The description of the disk image being imported.public String getFormat()
Valid values:
RAW
| VHD
| VMDK
|
OVA
Valid values:
RAW
| VHD
| VMDK
|
OVA
public void setFormat(String format)
Valid values:
RAW
| VHD
| VMDK
|
OVA
format
- The format of the disk image being imported. Valid values:
RAW
| VHD
| VMDK
|
OVA
public SnapshotDiskContainer withFormat(String format)
Valid values:
RAW
| VHD
| VMDK
|
OVA
Returns a reference to this object so that method calls can be chained together.
format
- The format of the disk image being imported. Valid values:
RAW
| VHD
| VMDK
|
OVA
public String getUrl()
public void setUrl(String url)
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 SnapshotDiskContainer withUrl(String url)
Returns a reference to this object so that method calls can be chained together.
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 UserBucket getUserBucket()
public void setUserBucket(UserBucket userBucket)
userBucket
- public SnapshotDiskContainer withUserBucket(UserBucket userBucket)
Returns a reference to this object so that method calls can be chained together.
userBucket
- public String toString()
toString
in class Object
Object.toString()
public SnapshotDiskContainer clone()
Copyright © 2015. All rights reserved.