Package com.amazonaws.services.ec2.model
Class ImportSnapshotResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.ImportSnapshotResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ImportSnapshotResult extends Object implements Serializable, Cloneable
Contains the output for ImportSnapshot.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImportSnapshotResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImportSnapshotResultclone()booleanequals(Object obj)StringgetDescription()A description of the import snapshot task.StringgetImportTaskId()The ID of the import snapshot task.SnapshotTaskDetailgetSnapshotTaskDetail()Information about the 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)Information about the import snapshot task.StringtoString()Returns a string representation of this object; useful for testing and debugging.ImportSnapshotResultwithDescription(String description)A description of the import snapshot task.ImportSnapshotResultwithImportTaskId(String importTaskId)The ID of the import snapshot task.ImportSnapshotResultwithSnapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)Information about the 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 ImportSnapshotResult 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)
Information about the import snapshot task.
- Parameters:
snapshotTaskDetail- Information about the import snapshot task.
-
getSnapshotTaskDetail
public SnapshotTaskDetail getSnapshotTaskDetail()
Information about the import snapshot task.
- Returns:
- Information about the import snapshot task.
-
withSnapshotTaskDetail
public ImportSnapshotResult withSnapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)
Information about the import snapshot task.
- Parameters:
snapshotTaskDetail- Information about the 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 ImportSnapshotResult 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 ImportSnapshotResult clone()
-
-