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 String
amiId()
The ID of the AMI that is being stored.final String
bucket()
The name of the Amazon S3 bucket that contains the stored AMI object.static StoreImageTaskResult.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final Integer
The progress of the task as a percentage.final String
The name of the stored AMI object in the bucket.static Class
<? extends StoreImageTaskResult.Builder> final String
If the tasks fails, the reason for the failure is returned.final String
The state of the store task (InProgress
,Completed
, orFailed
).final Instant
The time the task started.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
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,
null
is returned.- Returns:
- If the tasks fails, the reason for the failure is returned. If the task succeeds,
null
is returned.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<StoreImageTaskResult.Builder,
StoreImageTaskResult> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
-