@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportSnapshotTask extends Object implements Serializable, Cloneable
Describes an import snapshot task.
Constructor and Description |
---|
ImportSnapshotTask() |
Modifier and Type | Method and 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.
|
List<Tag> |
getTags()
The tags for 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)
Describes an import snapshot task.
|
void |
setTags(Collection<Tag> tags)
The tags for the import snapshot task.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
ImportSnapshotTask |
withTags(Collection<Tag> tags)
The tags for the import snapshot task.
|
ImportSnapshotTask |
withTags(Tag... tags)
The tags for the import snapshot task.
|
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 ImportSnapshotTask 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 ImportSnapshotTask withImportTaskId(String importTaskId)
The ID of the import snapshot task.
importTaskId
- The ID of the import snapshot task.public void setSnapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)
Describes an import snapshot task.
snapshotTaskDetail
- Describes an import snapshot task.public SnapshotTaskDetail getSnapshotTaskDetail()
Describes an import snapshot task.
public ImportSnapshotTask withSnapshotTaskDetail(SnapshotTaskDetail snapshotTaskDetail)
Describes an import snapshot task.
snapshotTaskDetail
- Describes an import snapshot task.public List<Tag> getTags()
The tags for the import snapshot task.
public void setTags(Collection<Tag> tags)
The tags for the import snapshot task.
tags
- The tags for the import snapshot task.public ImportSnapshotTask withTags(Tag... tags)
The tags for 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
- The tags for the import snapshot task.public ImportSnapshotTask withTags(Collection<Tag> tags)
The tags for the import snapshot task.
tags
- The tags for the import snapshot task.public String toString()
toString
in class Object
Object.toString()
public ImportSnapshotTask clone()