@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnapshotTaskDetail extends Object implements Serializable, Cloneable
Details about the import snapshot task.
Constructor and Description |
---|
SnapshotTaskDetail() |
Modifier and Type | Method and Description |
---|---|
SnapshotTaskDetail |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the snapshot.
|
Double |
getDiskImageSize()
The size of the disk in the snapshot, in GiB.
|
Boolean |
getEncrypted()
Indicates whether the snapshot is encrypted.
|
String |
getFormat()
The format of the disk image from which the snapshot is created.
|
String |
getKmsKeyId()
The identifier for the KMS key that was used to create the encrypted snapshot.
|
String |
getProgress()
The percentage of completion for the import snapshot task.
|
String |
getSnapshotId()
The snapshot ID of the disk being imported.
|
String |
getStatus()
A brief status for the import snapshot task.
|
String |
getStatusMessage()
A detailed status message for the import snapshot task.
|
String |
getUrl()
The URL of the disk image from which the snapshot is created.
|
UserBucketDetails |
getUserBucket()
The Amazon S3 bucket for the disk image.
|
int |
hashCode() |
Boolean |
isEncrypted()
Indicates whether the snapshot is encrypted.
|
void |
setDescription(String description)
The description of the snapshot.
|
void |
setDiskImageSize(Double diskImageSize)
The size of the disk in the snapshot, in GiB.
|
void |
setEncrypted(Boolean encrypted)
Indicates whether the snapshot is encrypted.
|
void |
setFormat(String format)
The format of the disk image from which the snapshot is created.
|
void |
setKmsKeyId(String kmsKeyId)
The identifier for the KMS key that was used to create the encrypted snapshot.
|
void |
setProgress(String progress)
The percentage of completion for the import snapshot task.
|
void |
setSnapshotId(String snapshotId)
The snapshot ID of the disk being imported.
|
void |
setStatus(String status)
A brief status for the import snapshot task.
|
void |
setStatusMessage(String statusMessage)
A detailed status message for the import snapshot task.
|
void |
setUrl(String url)
The URL of the disk image from which the snapshot is created.
|
void |
setUserBucket(UserBucketDetails userBucket)
The Amazon S3 bucket for the disk image.
|
String |
toString()
Returns a string representation of this object.
|
SnapshotTaskDetail |
withDescription(String description)
The description of the snapshot.
|
SnapshotTaskDetail |
withDiskImageSize(Double diskImageSize)
The size of the disk in the snapshot, in GiB.
|
SnapshotTaskDetail |
withEncrypted(Boolean encrypted)
Indicates whether the snapshot is encrypted.
|
SnapshotTaskDetail |
withFormat(String format)
The format of the disk image from which the snapshot is created.
|
SnapshotTaskDetail |
withKmsKeyId(String kmsKeyId)
The identifier for the KMS key that was used to create the encrypted snapshot.
|
SnapshotTaskDetail |
withProgress(String progress)
The percentage of completion for the import snapshot task.
|
SnapshotTaskDetail |
withSnapshotId(String snapshotId)
The snapshot ID of the disk being imported.
|
SnapshotTaskDetail |
withStatus(String status)
A brief status for the import snapshot task.
|
SnapshotTaskDetail |
withStatusMessage(String statusMessage)
A detailed status message for the import snapshot task.
|
SnapshotTaskDetail |
withUrl(String url)
The URL of the disk image from which the snapshot is created.
|
SnapshotTaskDetail |
withUserBucket(UserBucketDetails userBucket)
The Amazon S3 bucket for the disk image.
|
public void setDescription(String description)
The description of the snapshot.
description
- The description of the snapshot.public String getDescription()
The description of the snapshot.
public SnapshotTaskDetail withDescription(String description)
The description of the snapshot.
description
- The description of the snapshot.public void setDiskImageSize(Double diskImageSize)
The size of the disk in the snapshot, in GiB.
diskImageSize
- The size of the disk in the snapshot, in GiB.public Double getDiskImageSize()
The size of the disk in the snapshot, in GiB.
public SnapshotTaskDetail withDiskImageSize(Double diskImageSize)
The size of the disk in the snapshot, in GiB.
diskImageSize
- The size of the disk in the snapshot, in GiB.public void setEncrypted(Boolean encrypted)
Indicates whether the snapshot is encrypted.
encrypted
- Indicates whether the snapshot is encrypted.public Boolean getEncrypted()
Indicates whether the snapshot is encrypted.
public SnapshotTaskDetail withEncrypted(Boolean encrypted)
Indicates whether the snapshot is encrypted.
encrypted
- Indicates whether the snapshot is encrypted.public Boolean isEncrypted()
Indicates whether the snapshot is encrypted.
public void setFormat(String format)
The format of the disk image from which the snapshot is created.
format
- The format of the disk image from which the snapshot is created.public String getFormat()
The format of the disk image from which the snapshot is created.
public SnapshotTaskDetail withFormat(String format)
The format of the disk image from which the snapshot is created.
format
- The format of the disk image from which the snapshot is created.public void setKmsKeyId(String kmsKeyId)
The identifier for the KMS key that was used to create the encrypted snapshot.
kmsKeyId
- The identifier for the KMS key that was used to create the encrypted snapshot.public String getKmsKeyId()
The identifier for the KMS key that was used to create the encrypted snapshot.
public SnapshotTaskDetail withKmsKeyId(String kmsKeyId)
The identifier for the KMS key that was used to create the encrypted snapshot.
kmsKeyId
- The identifier for the KMS key that was used to create the encrypted snapshot.public void setProgress(String progress)
The percentage of completion for the import snapshot task.
progress
- The percentage of completion for the import snapshot task.public String getProgress()
The percentage of completion for the import snapshot task.
public SnapshotTaskDetail withProgress(String progress)
The percentage of completion for the import snapshot task.
progress
- The percentage of completion for the import snapshot task.public void setSnapshotId(String snapshotId)
The snapshot ID of the disk being imported.
snapshotId
- The snapshot ID of the disk being imported.public String getSnapshotId()
The snapshot ID of the disk being imported.
public SnapshotTaskDetail withSnapshotId(String snapshotId)
The snapshot ID of the disk being imported.
snapshotId
- The snapshot ID of the disk being imported.public void setStatus(String status)
A brief status for the import snapshot task.
status
- A brief status for the import snapshot task.public String getStatus()
A brief status for the import snapshot task.
public SnapshotTaskDetail withStatus(String status)
A brief status for the import snapshot task.
status
- A brief status for the import snapshot task.public void setStatusMessage(String statusMessage)
A detailed status message for the import snapshot task.
statusMessage
- A detailed status message for the import snapshot task.public String getStatusMessage()
A detailed status message for the import snapshot task.
public SnapshotTaskDetail withStatusMessage(String statusMessage)
A detailed status message for the import snapshot task.
statusMessage
- A detailed status message for the import snapshot task.public void setUrl(String url)
The URL of the disk image from which the snapshot is created.
url
- The URL of the disk image from which the snapshot is created.public String getUrl()
The URL of the disk image from which the snapshot is created.
public SnapshotTaskDetail withUrl(String url)
The URL of the disk image from which the snapshot is created.
url
- The URL of the disk image from which the snapshot is created.public void setUserBucket(UserBucketDetails userBucket)
The Amazon S3 bucket for the disk image.
userBucket
- The Amazon S3 bucket for the disk image.public UserBucketDetails getUserBucket()
The Amazon S3 bucket for the disk image.
public SnapshotTaskDetail withUserBucket(UserBucketDetails 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 SnapshotTaskDetail clone()