Class SnapshotTaskDetail
- java.lang.Object
-
- com.amazonaws.services.ec2.model.SnapshotTaskDetail
-
- All Implemented Interfaces:
Serializable,Cloneable
public class SnapshotTaskDetail extends Object implements Serializable, Cloneable
Details about the import snapshot task.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SnapshotTaskDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotTaskDetailclone()booleanequals(Object obj)StringgetDescription()The description of the snapshot.DoublegetDiskImageSize()The size of the disk in the snapshot, in GiB.StringgetFormat()The format of the disk image from which the snapshot is created.StringgetProgress()The percentage of completion for the import snapshot task.StringgetSnapshotId()The snapshot ID of the disk being imported.StringgetStatus()A brief status for the import snapshot task.StringgetStatusMessage()A detailed status message for the import snapshot task.StringgetUrl()The URL of the disk image from which the snapshot is created.UserBucketDetailsgetUserBucket()The S3 bucket for the disk image.inthashCode()voidsetDescription(String description)The description of the snapshot.voidsetDiskImageSize(Double diskImageSize)The size of the disk in the snapshot, in GiB.voidsetFormat(String format)The format of the disk image from which the snapshot is created.voidsetProgress(String progress)The percentage of completion for the import snapshot task.voidsetSnapshotId(String snapshotId)The snapshot ID of the disk being imported.voidsetStatus(String status)A brief status for the import snapshot task.voidsetStatusMessage(String statusMessage)A detailed status message for the import snapshot task.voidsetUrl(String url)The URL of the disk image from which the snapshot is created.voidsetUserBucket(UserBucketDetails userBucket)The S3 bucket for the disk image.StringtoString()Returns a string representation of this object; useful for testing and debugging.SnapshotTaskDetailwithDescription(String description)The description of the snapshot.SnapshotTaskDetailwithDiskImageSize(Double diskImageSize)The size of the disk in the snapshot, in GiB.SnapshotTaskDetailwithFormat(String format)The format of the disk image from which the snapshot is created.SnapshotTaskDetailwithProgress(String progress)The percentage of completion for the import snapshot task.SnapshotTaskDetailwithSnapshotId(String snapshotId)The snapshot ID of the disk being imported.SnapshotTaskDetailwithStatus(String status)A brief status for the import snapshot task.SnapshotTaskDetailwithStatusMessage(String statusMessage)A detailed status message for the import snapshot task.SnapshotTaskDetailwithUrl(String url)The URL of the disk image from which the snapshot is created.SnapshotTaskDetailwithUserBucket(UserBucketDetails userBucket)The S3 bucket for the disk image.
-
-
-
Method Detail
-
setDiskImageSize
public void setDiskImageSize(Double diskImageSize)
The size of the disk in the snapshot, in GiB.
- Parameters:
diskImageSize- The size of the disk in the snapshot, in GiB.
-
getDiskImageSize
public Double getDiskImageSize()
The size of the disk in the snapshot, in GiB.
- Returns:
- The size of the disk in the snapshot, in GiB.
-
withDiskImageSize
public SnapshotTaskDetail withDiskImageSize(Double diskImageSize)
The size of the disk in the snapshot, in GiB.
- Parameters:
diskImageSize- The size of the disk in the snapshot, in GiB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
The description of the snapshot.
- Parameters:
description- The description of the snapshot.
-
getDescription
public String getDescription()
The description of the snapshot.
- Returns:
- The description of the snapshot.
-
withDescription
public SnapshotTaskDetail withDescription(String description)
The description of the snapshot.
- Parameters:
description- The description of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFormat
public void setFormat(String format)
The format of the disk image from which the snapshot is created.
- Parameters:
format- The format of the disk image from which the snapshot is created.
-
getFormat
public String getFormat()
The format of the disk image from which the snapshot is created.
- Returns:
- The format of the disk image from which the snapshot is created.
-
withFormat
public SnapshotTaskDetail withFormat(String format)
The format of the disk image from which the snapshot is created.
- Parameters:
format- The format of the disk image from which the snapshot is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUrl
public void setUrl(String url)
The URL of the disk image from which the snapshot is created.
- Parameters:
url- The URL of the disk image from which the snapshot is created.
-
getUrl
public String getUrl()
The URL of the disk image from which the snapshot is created.
- Returns:
- The URL of the disk image from which the snapshot is created.
-
withUrl
public SnapshotTaskDetail withUrl(String url)
The URL of the disk image from which the snapshot is created.
- Parameters:
url- The URL of the disk image from which the snapshot is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUserBucket
public void setUserBucket(UserBucketDetails userBucket)
The S3 bucket for the disk image.
- Parameters:
userBucket- The S3 bucket for the disk image.
-
getUserBucket
public UserBucketDetails getUserBucket()
The S3 bucket for the disk image.
- Returns:
- The S3 bucket for the disk image.
-
withUserBucket
public SnapshotTaskDetail withUserBucket(UserBucketDetails userBucket)
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.
-
setSnapshotId
public void setSnapshotId(String snapshotId)
The snapshot ID of the disk being imported.
- Parameters:
snapshotId- The snapshot ID of the disk being imported.
-
getSnapshotId
public String getSnapshotId()
The snapshot ID of the disk being imported.
- Returns:
- The snapshot ID of the disk being imported.
-
withSnapshotId
public SnapshotTaskDetail withSnapshotId(String snapshotId)
The snapshot ID of the disk being imported.
- Parameters:
snapshotId- The snapshot ID of the disk being imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setProgress
public void setProgress(String progress)
The percentage of completion for the import snapshot task.
- Parameters:
progress- The percentage of completion for the import snapshot task.
-
getProgress
public String getProgress()
The percentage of completion for the import snapshot task.
- Returns:
- The percentage of completion for the import snapshot task.
-
withProgress
public SnapshotTaskDetail withProgress(String progress)
The percentage of completion for the import snapshot task.
- Parameters:
progress- The percentage of completion for the import snapshot task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatusMessage
public void setStatusMessage(String statusMessage)
A detailed status message for the import snapshot task.
- Parameters:
statusMessage- A detailed status message for the import snapshot task.
-
getStatusMessage
public String getStatusMessage()
A detailed status message for the import snapshot task.
- Returns:
- A detailed status message for the import snapshot task.
-
withStatusMessage
public SnapshotTaskDetail withStatusMessage(String statusMessage)
A detailed status message for the import snapshot task.
- Parameters:
statusMessage- A detailed status message for the import snapshot task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String status)
A brief status for the import snapshot task.
- Parameters:
status- A brief status for the import snapshot task.
-
getStatus
public String getStatus()
A brief status for the import snapshot task.
- Returns:
- A brief status for the import snapshot task.
-
withStatus
public SnapshotTaskDetail withStatus(String status)
A brief status for the import snapshot task.
- Parameters:
status- A brief status for the import snapshot task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SnapshotTaskDetail clone()
-
-