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) Indicates whether some other object is "equal to" this one by SDK fields.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.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods 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
-
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<StoreImageTaskResult.Builder,StoreImageTaskResult> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-