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 List<ImportInstanceVolumeDetailItem> getVolumes()
public void setVolumes(Collection<ImportInstanceVolumeDetailItem> volumes)
volumes - One or more volumes.public ImportInstanceTaskDetails withVolumes(ImportInstanceVolumeDetailItem... 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.
Returns a reference to this object so that method calls can be chained together.
volumes - One or more volumes.public ImportInstanceTaskDetails withVolumes(Collection<ImportInstanceVolumeDetailItem> volumes)
Returns a reference to this object so that method calls can be chained together.
volumes - One or more volumes.public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId - The ID of the instance.public ImportInstanceTaskDetails withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId - The ID of the instance.public String getPlatform()
Constraints:
Allowed Values: Windows
PlatformValuespublic void setPlatform(String platform)
Constraints:
Allowed Values: Windows
platform - The instance operating system.PlatformValuespublic ImportInstanceTaskDetails withPlatform(String platform)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Windows
platform - The instance operating system.PlatformValuespublic void setPlatform(PlatformValues platform)
Constraints:
Allowed Values: Windows
platform - The instance operating system.PlatformValuespublic ImportInstanceTaskDetails withPlatform(PlatformValues platform)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Windows
platform - The instance operating system.PlatformValuespublic String getDescription()
public void setDescription(String description)
description - A description of the task.public ImportInstanceTaskDetails withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description - A description of the task.public String toString()
toString in class ObjectObject.toString()public ImportInstanceTaskDetails clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.