public class ImportInstanceTaskDetails extends Object implements Serializable
Constructor and Description |
---|
ImportInstanceTaskDetails() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription() |
String |
getInstanceId() |
String |
getPlatform()
The instance operating system.
|
List<ImportInstanceVolumeDetailItem> |
getVolumes() |
int |
hashCode() |
void |
setDescription(String description) |
void |
setInstanceId(String instanceId) |
void |
setPlatform(PlatformValues platform)
The instance operating system.
|
void |
setPlatform(String platform)
The instance operating system.
|
void |
setVolumes(Collection<ImportInstanceVolumeDetailItem> volumes) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ImportInstanceTaskDetails |
withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
|
ImportInstanceTaskDetails |
withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
|
ImportInstanceTaskDetails |
withPlatform(PlatformValues platform)
The instance operating system.
|
ImportInstanceTaskDetails |
withPlatform(String platform)
The instance operating system.
|
ImportInstanceTaskDetails |
withVolumes(Collection<ImportInstanceVolumeDetailItem> volumes)
Returns a reference to this object so that method calls can be chained together.
|
ImportInstanceTaskDetails |
withVolumes(ImportInstanceVolumeDetailItem... volumes)
Returns a reference to this object so that method calls can be chained together.
|
public List<ImportInstanceVolumeDetailItem> getVolumes()
public void setVolumes(Collection<ImportInstanceVolumeDetailItem> volumes)
volumes
- public ImportInstanceTaskDetails withVolumes(ImportInstanceVolumeDetailItem... volumes)
Returns a reference to this object so that method calls can be chained together.
volumes
- public ImportInstanceTaskDetails withVolumes(Collection<ImportInstanceVolumeDetailItem> volumes)
Returns a reference to this object so that method calls can be chained together.
volumes
- public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- public ImportInstanceTaskDetails withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- public String getPlatform()
Constraints:
Allowed Values: Windows
PlatformValues
public void setPlatform(String platform)
Constraints:
Allowed Values: Windows
platform
- The instance operating system.PlatformValues
public 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.PlatformValues
public void setPlatform(PlatformValues platform)
Constraints:
Allowed Values: Windows
platform
- The instance operating system.PlatformValues
public 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.PlatformValues
public String getDescription()
public void setDescription(String description)
description
- public ImportInstanceTaskDetails withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- public String toString()
toString
in class Object
Object.toString()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.