Class ImportImageResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ImportImageResponse.Builder,ImportImageResponse>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe architecture of the virtual machine.static ImportImageResponse.Builderbuilder()final StringA description of the import task.final BooleanIndicates whether the AMI is encrypted.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanFor responses, this returns true if the service returned a value for the LicenseSpecifications property.final booleanFor responses, this returns true if the service returned a value for the SnapshotDetails property.final booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.final StringThe target hypervisor of the import task.final StringimageId()The ID of the Amazon Machine Image (AMI) created by the import task.final StringThe task ID of the import image task.final StringkmsKeyId()The identifier for the symmetric KMS key that was used to create the encrypted AMI.The ARNs of the license configurations.final StringThe license type of the virtual machine.final Stringplatform()The operating system of the virtual machine.final Stringprogress()The progress of the task.static Class<? extends ImportImageResponse.Builder>final List<SnapshotDetail>Information about the snapshots.final Stringstatus()A brief status of the task.final StringA detailed status message of the import task.tags()Any tags assigned to the import image task.final StringtoString()Returns a string representation of this object.final StringThe usage operation value.Methods inherited from class software.amazon.awssdk.services.ec2.model.Ec2Response
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
architecture
The architecture of the virtual machine.
- Returns:
- The architecture of the virtual machine.
-
description
A description of the import task.
- Returns:
- A description of the import task.
-
encrypted
Indicates whether the AMI is encrypted.
- Returns:
- Indicates whether the AMI is encrypted.
-
hypervisor
The target hypervisor of the import task.
- Returns:
- The target hypervisor of the import task.
-
imageId
The ID of the Amazon Machine Image (AMI) created by the import task.
- Returns:
- The ID of the Amazon Machine Image (AMI) created by the import task.
-
importTaskId
The task ID of the import image task.
- Returns:
- The task ID of the import image task.
-
kmsKeyId
The identifier for the symmetric KMS key that was used to create the encrypted AMI.
- Returns:
- The identifier for the symmetric KMS key that was used to create the encrypted AMI.
-
licenseType
The license type of the virtual machine.
- Returns:
- The license type of the virtual machine.
-
platform
The operating system of the virtual machine.
- Returns:
- The operating system of the virtual machine.
-
progress
The progress of the task.
- Returns:
- The progress of the task.
-
hasSnapshotDetails
public final boolean hasSnapshotDetails()For responses, this returns true if the service returned a value for the SnapshotDetails property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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. -
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.- Returns:
- Information about the snapshots.
-
status
A brief status of the task.
- Returns:
- A brief status of the task.
-
statusMessage
A detailed status message of the import task.
- Returns:
- A detailed status message of the import task.
-
hasLicenseSpecifications
public final boolean hasLicenseSpecifications()For responses, this returns true if the service returned a value for the LicenseSpecifications property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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. -
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.- Returns:
- The ARNs of the license configurations.
-
hasTags
public final boolean hasTags()For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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. -
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.- Returns:
- Any tags assigned to the import image task.
-
usageOperation
The usage operation value.
- Returns:
- The usage operation value.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImportImageResponse.Builder,ImportImageResponse> - Specified by:
toBuilderin classAwsResponse
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-