Interface StoreImageTaskResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StoreImageTaskResult.Builder,,StoreImageTaskResult> SdkBuilder<StoreImageTaskResult.Builder,,StoreImageTaskResult> SdkPojo
- Enclosing class:
StoreImageTaskResult
public static interface StoreImageTaskResult.Builder
extends SdkPojo, CopyableBuilder<StoreImageTaskResult.Builder,StoreImageTaskResult>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the AMI that is being stored.The name of the Amazon S3 bucket that contains the stored AMI object.progressPercentage(Integer progressPercentage) The progress of the task as a percentage.s3objectKey(String s3objectKey) The name of the stored AMI object in the bucket.storeTaskFailureReason(String storeTaskFailureReason) If the tasks fails, the reason for the failure is returned.storeTaskState(String storeTaskState) The state of the store task (InProgress,Completed, orFailed).taskStartTime(Instant taskStartTime) The time the task started.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
amiId
The ID of the AMI that is being stored.
- Parameters:
amiId- The ID of the AMI that is being stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskStartTime
The time the task started.
- Parameters:
taskStartTime- The time the task started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucket
The name of the Amazon S3 bucket that contains the stored AMI object.
- Parameters:
bucket- The name of the Amazon S3 bucket that contains the stored AMI object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3objectKey
The name of the stored AMI object in the bucket.
- Parameters:
s3objectKey- The name of the stored AMI object in the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressPercentage
The progress of the task as a percentage.
- Parameters:
progressPercentage- The progress of the task as a percentage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storeTaskState
The state of the store task (
InProgress,Completed, orFailed).- Parameters:
storeTaskState- The state of the store task (InProgress,Completed, orFailed).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storeTaskFailureReason
If the tasks fails, the reason for the failure is returned. If the task succeeds,
nullis returned.- Parameters:
storeTaskFailureReason- If the tasks fails, the reason for the failure is returned. If the task succeeds,nullis returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-