Class SnapshotDiskContainer
- All Implemented Interfaces:
Serializable
,Cloneable
The disk container object for the import snapshot request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The description of the disk image being imported.The format of the disk image being imported.getUrl()
The URL to the Amazon S3-based disk image being imported.The S3 bucket for the disk image.int
hashCode()
void
setDescription
(String description) The description of the disk image being imported.void
The format of the disk image being imported.void
The URL to the Amazon S3-based disk image being imported.void
setUserBucket
(UserBucket userBucket) The S3 bucket for the disk image.toString()
Returns a string representation of this object; useful for testing and debugging.withDescription
(String description) The description of the disk image being imported.withFormat
(String format) The format of the disk image being imported.The URL to the Amazon S3-based disk image being imported.withUserBucket
(UserBucket userBucket) The S3 bucket for the disk image.
-
Constructor Details
-
SnapshotDiskContainer
public SnapshotDiskContainer()
-
-
Method Details
-
setDescription
The description of the disk image being imported.
- Parameters:
description
- The description of the disk image being imported.
-
getDescription
The description of the disk image being imported.
- Returns:
- The description of the disk image being imported.
-
withDescription
The description of the disk image being imported.
- Parameters:
description
- The description of the disk image being imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFormat
The format of the disk image being imported.
Valid values:
RAW
|VHD
|VMDK
|OVA
- Parameters:
format
- The format of the disk image being imported.Valid values:
RAW
|VHD
|VMDK
|OVA
-
getFormat
The format of the disk image being imported.
Valid values:
RAW
|VHD
|VMDK
|OVA
- Returns:
- The format of the disk image being imported.
Valid values:
RAW
|VHD
|VMDK
|OVA
-
withFormat
The format of the disk image being imported.
Valid values:
RAW
|VHD
|VMDK
|OVA
- Parameters:
format
- The format of the disk image being imported.Valid values:
RAW
|VHD
|VMDK
|OVA
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUrl
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://..).
- Parameters:
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://..).
-
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://..).
- Returns:
- 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://..).
-
withUrl
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://..).
- Parameters:
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://..).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUserBucket
The S3 bucket for the disk image.
- Parameters:
userBucket
- The S3 bucket for the disk image.
-
getUserBucket
The S3 bucket for the disk image.
- Returns:
- The S3 bucket for the disk image.
-
withUserBucket
The S3 bucket for the disk image.
- Parameters:
userBucket
- The S3 bucket for the disk image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-