Interface DescribeStoreImageTasksResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeStoreImageTasksResponse.Builder,DescribeStoreImageTasksResponse>
,Ec2Response.Builder
,SdkBuilder<DescribeStoreImageTasksResponse.Builder,DescribeStoreImageTasksResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeStoreImageTasksResponse
public static interface DescribeStoreImageTasksResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeStoreImageTasksResponse.Builder,DescribeStoreImageTasksResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeStoreImageTasksResponse.Builder
nextToken(String nextToken)
The token to include in another request to get the next page of items.DescribeStoreImageTasksResponse.Builder
storeImageTaskResults(Collection<StoreImageTaskResult> storeImageTaskResults)
The information about the AMI store tasks.DescribeStoreImageTasksResponse.Builder
storeImageTaskResults(Consumer<StoreImageTaskResult.Builder>... storeImageTaskResults)
The information about the AMI store tasks.DescribeStoreImageTasksResponse.Builder
storeImageTaskResults(StoreImageTaskResult... storeImageTaskResults)
The information about the AMI store tasks.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
storeImageTaskResults
DescribeStoreImageTasksResponse.Builder storeImageTaskResults(Collection<StoreImageTaskResult> storeImageTaskResults)
The information about the AMI store tasks.
- Parameters:
storeImageTaskResults
- The information about the AMI store tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storeImageTaskResults
DescribeStoreImageTasksResponse.Builder storeImageTaskResults(StoreImageTaskResult... storeImageTaskResults)
The information about the AMI store tasks.
- Parameters:
storeImageTaskResults
- The information about the AMI store tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storeImageTaskResults
DescribeStoreImageTasksResponse.Builder storeImageTaskResults(Consumer<StoreImageTaskResult.Builder>... storeImageTaskResults)
The information about the AMI store tasks.
This is a convenience method that creates an instance of theStoreImageTaskResult.Builder
avoiding the need to create one manually viaStoreImageTaskResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#storeImageTaskResults(List
.) - Parameters:
storeImageTaskResults
- a consumer that will call methods onStoreImageTaskResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#storeImageTaskResults(java.util.Collection
)
-
nextToken
DescribeStoreImageTasksResponse.Builder nextToken(String nextToken)
The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.- Parameters:
nextToken
- The token to include in another request to get the next page of items. This value isnull
when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-