@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
StoreImageTaskResult.Builder |
Modifier and Type | Method and Description |
---|---|
String |
amiId()
The ID of the AMI that is being stored.
|
String |
bucket()
The name of the Amazon S3 bucket that contains the stored AMI object.
|
static StoreImageTaskResult.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
progressPercentage()
The progress of the task as a percentage.
|
String |
s3objectKey()
The name of the stored AMI object in the bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StoreImageTaskResult.Builder> |
serializableBuilderClass() |
String |
storeTaskFailureReason()
If the tasks fails, the reason for the failure is returned.
|
String |
storeTaskState()
The state of the store task (
InProgress , Completed , or Failed ). |
Instant |
taskStartTime()
The time the task started.
|
StoreImageTaskResult.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String amiId()
The ID of the AMI that is being stored.
public final Instant taskStartTime()
The time the task started.
public final String bucket()
The name of the Amazon S3 bucket that contains the stored AMI object.
public final String s3objectKey()
The name of the stored AMI object in the bucket.
public final Integer progressPercentage()
The progress of the task as a percentage.
public final String storeTaskState()
The state of the store task (InProgress
, Completed
, or Failed
).
InProgress
, Completed
, or Failed
).public final String storeTaskFailureReason()
If the tasks fails, the reason for the failure is returned. If the task succeeds, null
is returned.
null
is
returned.public StoreImageTaskResult.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<StoreImageTaskResult.Builder,StoreImageTaskResult>
public static StoreImageTaskResult.Builder builder()
public static Class<? extends StoreImageTaskResult.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.