Interface ListWorkspacePagesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<ListWorkspacePagesResponse.Builder,,ListWorkspacePagesResponse> SdkBuilder<ListWorkspacePagesResponse.Builder,,ListWorkspacePagesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListWorkspacePagesResponse
@Mutable
@NotThreadSafe
public static interface ListWorkspacePagesResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<ListWorkspacePagesResponse.Builder,ListWorkspacePagesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are additional results, this is the token for the next set of results.workspacePageList(Collection<WorkspacePage> workspacePageList) A list of page configurations in the workspace.workspacePageList(Consumer<WorkspacePage.Builder>... workspacePageList) A list of page configurations in the workspace.workspacePageList(WorkspacePage... workspacePageList) A list of page configurations in the workspace.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.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
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspacePageList
A list of page configurations in the workspace.
- Parameters:
workspacePageList- A list of page configurations in the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspacePageList
A list of page configurations in the workspace.
- Parameters:
workspacePageList- A list of page configurations in the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspacePageList
ListWorkspacePagesResponse.Builder workspacePageList(Consumer<WorkspacePage.Builder>... workspacePageList) A list of page configurations in the workspace.
This is a convenience method that creates an instance of theWorkspacePage.Builderavoiding the need to create one manually viaWorkspacePage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkspacePageList(List<WorkspacePage>).- Parameters:
workspacePageList- a consumer that will call methods onWorkspacePage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-