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 ImportSnapshotTask
clone()
boolean
equals(Object obj)
String
getDescription()
A description of the import snapshot task.String
getImportTaskId()
The ID of the import snapshot task.SnapshotTaskDetail
getSnapshotTaskDetail()
Describes an import snapshot task.int
hashCode()
void
setDescription(String description)
A description of the import snapshot task.void
setImportTaskId(String importTaskId)
The ID of the import snapshot task.void
setSnapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)
Describes an import snapshot task.String
toString()
Returns a string representation of this object; useful for testing and debugging.ImportSnapshotTask
withDescription(String description)
A description of the import snapshot task.ImportSnapshotTask
withImportTaskId(String importTaskId)
The ID of the import snapshot task.ImportSnapshotTask
withSnapshotTaskDetail(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ImportSnapshotTask clone()
-
-