public class SnapshotDiskContainer
extends java.lang.Object
implements java.io.Serializable
The disk container object for the import snapshot request.
Constructor and Description |
---|
SnapshotDiskContainer() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
The description of the disk image being imported.
|
java.lang.String |
getFormat()
The format of the disk image being imported.
|
java.lang.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(java.lang.String description)
The description of the disk image being imported.
|
void |
setFormat(java.lang.String format)
The format of the disk image being imported.
|
void |
setUrl(java.lang.String url)
The URL to the Amazon S3-based disk image being imported.
|
void |
setUserBucket(UserBucket userBucket)
The S3 bucket for the disk image.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SnapshotDiskContainer |
withDescription(java.lang.String description)
The description of the disk image being imported.
|
SnapshotDiskContainer |
withFormat(java.lang.String format)
The format of the disk image being imported.
|
SnapshotDiskContainer |
withUrl(java.lang.String url)
The URL to the Amazon S3-based disk image being imported.
|
SnapshotDiskContainer |
withUserBucket(UserBucket userBucket)
The S3 bucket for the disk image.
|
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description of the disk image being imported.public SnapshotDiskContainer withDescription(java.lang.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 java.lang.String getFormat()
Valid values:
RAW
| VHD
| VMDK
|
OVA
Valid values:
RAW
| VHD
| VMDK
|
OVA
public void setFormat(java.lang.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(java.lang.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 java.lang.String getUrl()
public void setUrl(java.lang.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(java.lang.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
- The S3 bucket for the disk image.public SnapshotDiskContainer withUserBucket(UserBucket userBucket)
Returns a reference to this object so that method calls can be chained together.
userBucket
- The S3 bucket for the disk image.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.