Interface DescribeAppBlocksResponse.Builder
- All Superinterfaces:
AppStreamResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAppBlocksResponse.Builder,,DescribeAppBlocksResponse> SdkBuilder<DescribeAppBlocksResponse.Builder,,DescribeAppBlocksResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeAppBlocksResponse
@Mutable
@NotThreadSafe
public static interface DescribeAppBlocksResponse.Builder
extends AppStreamResponse.Builder, SdkPojo, CopyableBuilder<DescribeAppBlocksResponse.Builder,DescribeAppBlocksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionappBlocks(Collection<AppBlock> appBlocks) The app blocks in the list.appBlocks(Consumer<AppBlock.Builder>... appBlocks) The app blocks in the list.The app blocks in the list.The pagination token used to retrieve the next page of results for this operation.Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
appBlocks
The app blocks in the list.
- Parameters:
appBlocks- The app blocks in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appBlocks
The app blocks in the list.
- Parameters:
appBlocks- The app blocks in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appBlocks
The app blocks in the list.
This is a convenience method that creates an instance of theAppBlock.Builderavoiding the need to create one manually viaAppBlock.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toappBlocks(List<AppBlock>).- Parameters:
appBlocks- a consumer that will call methods onAppBlock.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token used to retrieve the next page of results for this operation.
- Parameters:
nextToken- The pagination token used to retrieve the next page of results for this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-