Class StoreImageTaskResult
java.lang.Object
software.amazon.awssdk.services.ec2.model.StoreImageTaskResult
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StoreImageTaskResult.Builder,StoreImageTaskResult>
@Generated("software.amazon.awssdk:codegen")
public final class StoreImageTaskResult
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<StoreImageTaskResult.Builder,StoreImageTaskResult>
The information about the AMI store task, including the progress of the task.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringamiId()The ID of the AMI that is being stored.final Stringbucket()The name of the Amazon S3 bucket that contains the stored AMI object.static StoreImageTaskResult.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe progress of the task as a percentage.final StringThe name of the stored AMI object in the bucket.static Class<? extends StoreImageTaskResult.Builder>final StringIf the tasks fails, the reason for the failure is returned.final StringThe state of the store task (InProgress,Completed, orFailed).final InstantThe time the task started.final StringtoString()Returns a string representation of this object.Methods 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
-
amiId
The ID of the AMI that is being stored.
- Returns:
- The ID of the AMI that is being stored.
-
taskStartTime
The time the task started.
- Returns:
- The time the task started.
-
bucket
The name of the Amazon S3 bucket that contains the stored AMI object.
- Returns:
- The name of the Amazon S3 bucket that contains the stored AMI object.
-
s3objectKey
The name of the stored AMI object in the bucket.
- Returns:
- The name of the stored AMI object in the bucket.
-
progressPercentage
The progress of the task as a percentage.
- Returns:
- The progress of the task as a percentage.
-
storeTaskState
The state of the store task (
InProgress,Completed, orFailed).- Returns:
- The state of the store task (
InProgress,Completed, orFailed).
-
storeTaskFailureReason
If the tasks fails, the reason for the failure is returned. If the task succeeds,
nullis returned.- Returns:
- If the tasks fails, the reason for the failure is returned. If the task succeeds,
nullis returned.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<StoreImageTaskResult.Builder,StoreImageTaskResult>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-