Package com.amazonaws.services.ec2.model
Class ImportSnapshotResult
java.lang.Object
com.amazonaws.services.ec2.model.ImportSnapshotResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output for ImportSnapshot.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A description of the import snapshot task.The ID of the import snapshot task.Information about the 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) Information about the import snapshot task.toString()
Returns a string representation of this object; useful for testing and debugging.withDescription
(String description) A description of the import snapshot task.withImportTaskId
(String importTaskId) The ID of the import snapshot task.withSnapshotTaskDetail
(SnapshotTaskDetail snapshotTaskDetail) Information about the import snapshot task.
-
Constructor Details
-
ImportSnapshotResult
public ImportSnapshotResult()
-
-
Method Details
-
setImportTaskId
The ID of the import snapshot task.
- Parameters:
importTaskId
- The ID of the import snapshot task.
-
getImportTaskId
The ID of the import snapshot task.
- Returns:
- The ID of the import snapshot task.
-
withImportTaskId
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
Information about the import snapshot task.
- Parameters:
snapshotTaskDetail
- Information about the import snapshot task.
-
getSnapshotTaskDetail
Information about the import snapshot task.
- Returns:
- Information about the import snapshot task.
-
withSnapshotTaskDetail
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
A description of the import snapshot task.
- Parameters:
description
- A description of the import snapshot task.
-
getDescription
A description of the import snapshot task.
- Returns:
- A description of the import snapshot task.
-
withDescription
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-