@Generated(value="software.amazon.awssdk:codegen") public final class ImportImageResponse extends Ec2Response implements ToCopyableBuilder<ImportImageResponse.Builder,ImportImageResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImportImageResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
architecture()
The architecture of the virtual machine.
|
static ImportImageResponse.Builder |
builder() |
String |
description()
A description of the import task.
|
Boolean |
encrypted()
Indicates whether the AMI 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 of the import task.
|
String |
imageId()
The ID of the Amazon Machine Image (AMI) created by the import task.
|
String |
importTaskId()
The task ID of the import image task.
|
String |
kmsKeyId()
The identifier for the symmetric KMS key that was used to create the encrypted AMI.
|
List<ImportImageLicenseConfigurationResponse> |
licenseSpecifications()
The ARNs of the license configurations.
|
String |
licenseType()
The license type of the virtual machine.
|
String |
platform()
The operating system of the virtual machine.
|
String |
progress()
The progress of the task.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ImportImageResponse.Builder> |
serializableBuilderClass() |
List<SnapshotDetail> |
snapshotDetails()
Information about the snapshots.
|
String |
status()
A brief status of the task.
|
String |
statusMessage()
A detailed status message of the import task.
|
List<Tag> |
tags()
Any tags assigned to the import image task.
|
ImportImageResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
usageOperation()
The usage operation value.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String architecture()
The architecture of the virtual machine.
public final String description()
A description of the import task.
public final Boolean encrypted()
Indicates whether the AMI is encrypted.
public final String hypervisor()
The target hypervisor of the import task.
public final String imageId()
The ID of the Amazon Machine Image (AMI) created by the import task.
public final String importTaskId()
The task ID of the import image task.
public final String kmsKeyId()
The identifier for the symmetric KMS key that was used to create the encrypted AMI.
public final String licenseType()
The license type of the virtual machine.
public final String platform()
The operating system of the virtual machine.
public final String progress()
The progress of the 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 of the task.
public final String statusMessage()
A detailed status message of the import task.
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.
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 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()
Any tags assigned to 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 String usageOperation()
The usage operation value.
public ImportImageResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImportImageResponse.Builder,ImportImageResponse>toBuilder in class AwsResponsepublic static ImportImageResponse.Builder builder()
public static Class<? extends ImportImageResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.