@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()
Returns true if the LicenseSpecifications property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasSnapshotDetails()
Returns true if the SnapshotDetails property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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 AWS Key Management Service (AWS KMS) customer master key (CMK) 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 image being imported.
|
ImportImageResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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 AWS Key Management Service (AWS KMS) customer master key (CMK) 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()
public final List<SnapshotDetail> snapshotDetails()
Information about the snapshots.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSnapshotDetails()
to see if a value was sent in this field.
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()
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.
You can use hasLicenseSpecifications()
to see if a value was sent in this field.
public final boolean hasTags()
public final List<Tag> tags()
Any tags assigned to the image being imported.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags()
to see if a value was sent in this field.
public ImportImageResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ImportImageResponse.Builder,ImportImageResponse>
toBuilder
in class AwsResponse
public static ImportImageResponse.Builder builder()
public static Class<? extends ImportImageResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2021. All rights reserved.