public static interface StoreImageTaskResult.Builder extends SdkPojo, CopyableBuilder<StoreImageTaskResult.Builder,StoreImageTaskResult>
Modifier and Type | Method and Description |
---|---|
StoreImageTaskResult.Builder |
amiId(String amiId)
The ID of the AMI that is being stored.
|
StoreImageTaskResult.Builder |
bucket(String bucket)
The name of the Amazon S3 bucket that contains the stored AMI object.
|
StoreImageTaskResult.Builder |
progressPercentage(Integer progressPercentage)
The progress of the task as a percentage.
|
StoreImageTaskResult.Builder |
s3objectKey(String s3objectKey)
The name of the stored AMI object in the bucket.
|
StoreImageTaskResult.Builder |
storeTaskFailureReason(String storeTaskFailureReason)
If the tasks fails, the reason for the failure is returned.
|
StoreImageTaskResult.Builder |
storeTaskState(String storeTaskState)
The state of the store task (
InProgress , Completed , or Failed ). |
StoreImageTaskResult.Builder |
taskStartTime(Instant taskStartTime)
The time the task started.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
StoreImageTaskResult.Builder amiId(String amiId)
The ID of the AMI that is being stored.
amiId
- The ID of the AMI that is being stored.StoreImageTaskResult.Builder taskStartTime(Instant taskStartTime)
The time the task started.
taskStartTime
- The time the task started.StoreImageTaskResult.Builder bucket(String bucket)
The name of the Amazon S3 bucket that contains the stored AMI object.
bucket
- The name of the Amazon S3 bucket that contains the stored AMI object.StoreImageTaskResult.Builder s3objectKey(String s3objectKey)
The name of the stored AMI object in the bucket.
s3objectKey
- The name of the stored AMI object in the bucket.StoreImageTaskResult.Builder progressPercentage(Integer progressPercentage)
The progress of the task as a percentage.
progressPercentage
- The progress of the task as a percentage.StoreImageTaskResult.Builder storeTaskState(String storeTaskState)
The state of the store task (InProgress
, Completed
, or Failed
).
storeTaskState
- The state of the store task (InProgress
, Completed
, or Failed
).StoreImageTaskResult.Builder storeTaskFailureReason(String storeTaskFailureReason)
If the tasks fails, the reason for the failure is returned. If the task succeeds, null
is
returned.
storeTaskFailureReason
- If the tasks fails, the reason for the failure is returned. If the task succeeds, null
is
returned.Copyright © 2023. All rights reserved.