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 ImportSnapshotResult
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()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.ImportSnapshotResult
withDescription(String description)
A description of the import snapshot task.ImportSnapshotResult
withImportTaskId(String importTaskId)
The ID of the import snapshot task.ImportSnapshotResult
withSnapshotTaskDetail(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ImportSnapshotResult clone()
-
-