@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()
One or more 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)
One or more volumes.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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)
One or more volumes.
|
ImportInstanceTaskDetails |
withVolumes(ImportInstanceVolumeDetailItem... volumes)
One or more 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()
One or more volumes.
public void setVolumes(Collection<ImportInstanceVolumeDetailItem> volumes)
One or more volumes.
volumes
- One or more volumes.public ImportInstanceTaskDetails withVolumes(ImportInstanceVolumeDetailItem... volumes)
One or more 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
- One or more volumes.public ImportInstanceTaskDetails withVolumes(Collection<ImportInstanceVolumeDetailItem> volumes)
One or more volumes.
volumes
- One or more volumes.public String toString()
toString
in class Object
Object.toString()
public ImportInstanceTaskDetails clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.