@Generated(value="software.amazon.awssdk:codegen") public final class ImportImageTask extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImportImageTask.Builder,ImportImageTask>
Describes an import image task.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImportImageTask.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
architecture()
The architecture of the virtual machine.
|
BootModeValues |
bootMode()
The boot mode of the virtual machine.
|
String |
bootModeAsString()
The boot mode of the virtual machine.
|
static ImportImageTask.Builder |
builder() |
String |
description()
A description of the import task.
|
Boolean |
encrypted()
Indicates whether the image is encrypted.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasLicenseSpecifications()
For responses, this returns true if the service returned a value for the LicenseSpecifications property.
|
boolean |
hasSnapshotDetails()
For responses, this returns true if the service returned a value for the SnapshotDetails property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
hypervisor()
The target hypervisor for the import task.
|
String |
imageId()
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
|
String |
importTaskId()
The ID of the import image task.
|
String |
kmsKeyId()
The identifier for the KMS key that was used to create the encrypted image.
|
List<ImportImageLicenseConfigurationResponse> |
licenseSpecifications()
The ARNs of the license configurations that are associated with the import image task.
|
String |
licenseType()
The license type of the virtual machine.
|
String |
platform()
The description string for the import image task.
|
String |
progress()
The percentage of progress of the import image task.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ImportImageTask.Builder> |
serializableBuilderClass() |
List<SnapshotDetail> |
snapshotDetails()
Information about the snapshots.
|
String |
status()
A brief status for the import image task.
|
String |
statusMessage()
A descriptive status message for the import image task.
|
List<Tag> |
tags()
The tags for the import image task.
|
ImportImageTask.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
usageOperation()
The usage operation value.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String architecture()
The architecture of the virtual machine.
Valid values: i386 | x86_64 | arm64
Valid values: i386 | x86_64 | arm64
public final String description()
A description of the import task.
public final Boolean encrypted()
Indicates whether the image is encrypted.
public final String hypervisor()
The target hypervisor for the import task.
Valid values: xen
Valid values: xen
public final String imageId()
The ID of the Amazon Machine Image (AMI) of the imported virtual machine.
public final String importTaskId()
The ID of the import image task.
public final String kmsKeyId()
The identifier for the KMS key that was used to create the encrypted image.
public final String licenseType()
The license type of the virtual machine.
public final String platform()
The description string for the import image task.
public final String progress()
The percentage of progress of the import image task.
public final boolean hasSnapshotDetails()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<SnapshotDetail> snapshotDetails()
Information about the snapshots.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSnapshotDetails() method.
public final String status()
A brief status for the import image task.
public final String statusMessage()
A descriptive status message for the import image task.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
The tags for the import image task.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final boolean hasLicenseSpecifications()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<ImportImageLicenseConfigurationResponse> licenseSpecifications()
The ARNs of the license configurations that are associated with the import image task.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLicenseSpecifications() method.
public final String usageOperation()
The usage operation value.
public final BootModeValues bootMode()
The boot mode of the virtual machine.
If the service returns an enum value that is not available in the current SDK version, bootMode will
return BootModeValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
bootModeAsString().
BootModeValuespublic final String bootModeAsString()
The boot mode of the virtual machine.
If the service returns an enum value that is not available in the current SDK version, bootMode will
return BootModeValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
bootModeAsString().
BootModeValuespublic ImportImageTask.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImportImageTask.Builder,ImportImageTask>public static ImportImageTask.Builder builder()
public static Class<? extends ImportImageTask.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.