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