Package com.amazonaws.services.ec2.model
Class ImportInstanceTaskDetails
java.lang.Object
com.amazonaws.services.ec2.model.ImportInstanceTaskDetails
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an import instance task.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A description of the task.The ID of the instance.The instance operating system.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
One or more volumes.toString()
Returns a string representation of this object; useful for testing and debugging.withDescription
(String description) A description of the task.withInstanceId
(String instanceId) The ID of the instance.withPlatform
(PlatformValues platform) The instance operating system.withPlatform
(String platform) The instance operating system.withVolumes
(ImportInstanceVolumeDetailItem... volumes) One or more volumes.One or more volumes.
-
Constructor Details
-
ImportInstanceTaskDetails
public ImportInstanceTaskDetails()
-
-
Method Details
-
getVolumes
One or more volumes.
- Returns:
- One or more volumes.
-
setVolumes
One or more volumes.
- Parameters:
volumes
- One or more volumes.
-
withVolumes
One or more volumes.
NOTE: This method appends the values to the existing list (if any). Use
setVolumes(java.util.Collection)
orwithVolumes(java.util.Collection)
if you want to override the existing values.- Parameters:
volumes
- One or more volumes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVolumes
One or more volumes.
- Parameters:
volumes
- One or more volumes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceId
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.
-
getInstanceId
The ID of the instance.
- Returns:
- The ID of the instance.
-
withInstanceId
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPlatform
The instance operating system.
- Parameters:
platform
- The instance operating system.- See Also:
-
getPlatform
The instance operating system.
- Returns:
- The instance operating system.
- See Also:
-
withPlatform
The instance operating system.
- Parameters:
platform
- The instance operating system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setPlatform
The instance operating system.
- Parameters:
platform
- The instance operating system.- See Also:
-
withPlatform
The instance operating system.
- Parameters:
platform
- The instance operating system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setDescription
A description of the task.
- Parameters:
description
- A description of the task.
-
getDescription
A description of the task.
- Returns:
- A description of the task.
-
withDescription
A description of the task.
- Parameters:
description
- A description of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-