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()booleanA description of the task.The ID of the instance.The instance operating system.One or more volumes.inthashCode()voidsetDescription(String description) A description of the task.voidsetInstanceId(String instanceId) The ID of the instance.voidsetPlatform(PlatformValues platform) The instance operating system.voidsetPlatform(String platform) The instance operating system.voidOne 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
-
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
-
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
-
equals
-
hashCode
-
clone
-