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
All Methods Instance Methods Abstract Methods Modifier and Type Method 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
, orFailed
).StoreImageTaskResult.Builder
taskStartTime(Instant taskStartTime)
The time the task started.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
amiId
StoreImageTaskResult.Builder amiId(String 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
StoreImageTaskResult.Builder taskStartTime(Instant 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
StoreImageTaskResult.Builder bucket(String 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
StoreImageTaskResult.Builder s3objectKey(String 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
StoreImageTaskResult.Builder progressPercentage(Integer 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
StoreImageTaskResult.Builder storeTaskState(String 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
StoreImageTaskResult.Builder storeTaskFailureReason(String storeTaskFailureReason)
If the tasks fails, the reason for the failure is returned. If the task succeeds,
null
is returned.- Parameters:
storeTaskFailureReason
- If the tasks fails, the reason for the failure is returned. If the task succeeds,null
is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-