Package com.amazonaws.services.ec2.model
Class ImportSnapshotTask
- java.lang.Object
-
- com.amazonaws.services.ec2.model.ImportSnapshotTask
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ImportSnapshotTask extends Object implements Serializable, Cloneable
Describes an import snapshot task.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImportSnapshotTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImportSnapshotTaskclone()booleanequals(Object obj)StringgetDescription()A description of the import snapshot task.StringgetImportTaskId()The ID of the import snapshot task.SnapshotTaskDetailgetSnapshotTaskDetail()Describes an import snapshot task.inthashCode()voidsetDescription(String description)A description of the import snapshot task.voidsetImportTaskId(String importTaskId)The ID of the import snapshot task.voidsetSnapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)Describes an import snapshot task.StringtoString()Returns a string representation of this object; useful for testing and debugging.ImportSnapshotTaskwithDescription(String description)A description of the import snapshot task.ImportSnapshotTaskwithImportTaskId(String importTaskId)The ID of the import snapshot task.ImportSnapshotTaskwithSnapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)Describes an import snapshot task.
-
-
-
Method Detail
-
setImportTaskId
public void setImportTaskId(String importTaskId)
The ID of the import snapshot task.
- Parameters:
importTaskId- The ID of the import snapshot task.
-
getImportTaskId
public String getImportTaskId()
The ID of the import snapshot task.
- Returns:
- The ID of the import snapshot task.
-
withImportTaskId
public ImportSnapshotTask withImportTaskId(String importTaskId)
The ID of the import snapshot task.
- Parameters:
importTaskId- The ID of the import snapshot task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshotTaskDetail
public void setSnapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)
Describes an import snapshot task.
- Parameters:
snapshotTaskDetail- Describes an import snapshot task.
-
getSnapshotTaskDetail
public SnapshotTaskDetail getSnapshotTaskDetail()
Describes an import snapshot task.
- Returns:
- Describes an import snapshot task.
-
withSnapshotTaskDetail
public ImportSnapshotTask withSnapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)
Describes an import snapshot task.
- Parameters:
snapshotTaskDetail- Describes an import snapshot task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
A description of the import snapshot task.
- Parameters:
description- A description of the import snapshot task.
-
getDescription
public String getDescription()
A description of the import snapshot task.
- Returns:
- A description of the import snapshot task.
-
withDescription
public ImportSnapshotTask withDescription(String description)
A description of the import snapshot task.
- Parameters:
description- A description of 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 ImportSnapshotTask clone()
-
-