@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportSnapshotResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ImportSnapshotResult() |
Modifier and Type | Method and 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.
|
List<Tag> |
getTags()
Any tags assigned to 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.
|
void |
setTags(Collection<Tag> tags)
Any tags assigned to the import snapshot task.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
ImportSnapshotResult |
withTags(Collection<Tag> tags)
Any tags assigned to the import snapshot task.
|
ImportSnapshotResult |
withTags(Tag... tags)
Any tags assigned to the import snapshot task.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDescription(String description)
A description of the import snapshot task.
description
- A description of the import snapshot task.public String getDescription()
A description of the import snapshot task.
public ImportSnapshotResult withDescription(String description)
A description of the import snapshot task.
description
- A description of the import snapshot task.public void setImportTaskId(String importTaskId)
The ID of the import snapshot task.
importTaskId
- The ID of the import snapshot task.public String getImportTaskId()
The ID of the import snapshot task.
public ImportSnapshotResult withImportTaskId(String importTaskId)
The ID of the import snapshot task.
importTaskId
- The ID of the import snapshot task.public void setSnapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)
Information about the import snapshot task.
snapshotTaskDetail
- Information about the import snapshot task.public SnapshotTaskDetail getSnapshotTaskDetail()
Information about the import snapshot task.
public ImportSnapshotResult withSnapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)
Information about the import snapshot task.
snapshotTaskDetail
- Information about the import snapshot task.public List<Tag> getTags()
Any tags assigned to the import snapshot task.
public void setTags(Collection<Tag> tags)
Any tags assigned to the import snapshot task.
tags
- Any tags assigned to the import snapshot task.public ImportSnapshotResult withTags(Tag... tags)
Any tags assigned to the import snapshot task.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags assigned to the import snapshot task.public ImportSnapshotResult withTags(Collection<Tag> tags)
Any tags assigned to the import snapshot task.
tags
- Any tags assigned to the import snapshot task.public String toString()
toString
in class Object
Object.toString()
public ImportSnapshotResult clone()