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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
StoreImageTaskResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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
, orFailed
).Instant
taskStartTime()
The time the task started.StoreImageTaskResult.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
amiId
public final String amiId()
The ID of the AMI that is being stored.
- Returns:
- The ID of the AMI that is being stored.
-
taskStartTime
public final Instant taskStartTime()
The time the task started.
- Returns:
- The time the task started.
-
bucket
public final String 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
public final String s3objectKey()
The name of the stored AMI object in the bucket.
- Returns:
- The name of the stored AMI object in the bucket.
-
progressPercentage
public final Integer progressPercentage()
The progress of the task as a percentage.
- Returns:
- The progress of the task as a percentage.
-
storeTaskState
public final String storeTaskState()
The state of the store task (
InProgress
,Completed
, orFailed
).- Returns:
- The state of the store task (
InProgress
,Completed
, orFailed
).
-
storeTaskFailureReason
public final String 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
public StoreImageTaskResult.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<StoreImageTaskResult.Builder,StoreImageTaskResult>
-
builder
public static StoreImageTaskResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends StoreImageTaskResult.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String 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.
-
-