@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportInstanceTaskDetails extends Object implements Serializable, Cloneable
Describes an import instance task.
Constructor and Description |
---|
ImportInstanceTaskDetails() |
Modifier and Type | Method and Description |
---|---|
ImportInstanceTaskDetails |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the task.
|
String |
getInstanceId()
The ID of the instance.
|
String |
getPlatform()
The instance operating system.
|
List<ImportInstanceVolumeDetailItem> |
getVolumes()
The volumes.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the task.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setPlatform(PlatformValues platform)
The instance operating system.
|
void |
setPlatform(String platform)
The instance operating system.
|
void |
setVolumes(Collection<ImportInstanceVolumeDetailItem> volumes)
The volumes.
|
String |
toString()
Returns a string representation of this object.
|
ImportInstanceTaskDetails |
withDescription(String description)
A description of the task.
|
ImportInstanceTaskDetails |
withInstanceId(String instanceId)
The ID of the instance.
|
ImportInstanceTaskDetails |
withPlatform(PlatformValues platform)
The instance operating system.
|
ImportInstanceTaskDetails |
withPlatform(String platform)
The instance operating system.
|
ImportInstanceTaskDetails |
withVolumes(Collection<ImportInstanceVolumeDetailItem> volumes)
The volumes.
|
ImportInstanceTaskDetails |
withVolumes(ImportInstanceVolumeDetailItem... volumes)
The volumes.
|
public void setDescription(String description)
A description of the task.
description
- A description of the task.public String getDescription()
A description of the task.
public ImportInstanceTaskDetails withDescription(String description)
A description of the task.
description
- A description of the task.public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public ImportInstanceTaskDetails withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public void setPlatform(String platform)
The instance operating system.
platform
- The instance operating system.PlatformValues
public String getPlatform()
The instance operating system.
PlatformValues
public ImportInstanceTaskDetails withPlatform(String platform)
The instance operating system.
platform
- The instance operating system.PlatformValues
public void setPlatform(PlatformValues platform)
The instance operating system.
platform
- The instance operating system.PlatformValues
public ImportInstanceTaskDetails withPlatform(PlatformValues platform)
The instance operating system.
platform
- The instance operating system.PlatformValues
public List<ImportInstanceVolumeDetailItem> getVolumes()
The volumes.
public void setVolumes(Collection<ImportInstanceVolumeDetailItem> volumes)
The volumes.
volumes
- The volumes.public ImportInstanceTaskDetails withVolumes(ImportInstanceVolumeDetailItem... volumes)
The volumes.
NOTE: This method appends the values to the existing list (if any). Use
setVolumes(java.util.Collection)
or withVolumes(java.util.Collection)
if you want to override
the existing values.
volumes
- The volumes.public ImportInstanceTaskDetails withVolumes(Collection<ImportInstanceVolumeDetailItem> volumes)
The volumes.
volumes
- The volumes.public String toString()
toString
in class Object
Object.toString()
public ImportInstanceTaskDetails clone()