Interface DescribeSlackWorkspacesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChatbotResponse.Builder
,CopyableBuilder<DescribeSlackWorkspacesResponse.Builder,
,DescribeSlackWorkspacesResponse> SdkBuilder<DescribeSlackWorkspacesResponse.Builder,
,DescribeSlackWorkspacesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeSlackWorkspacesResponse
public static interface DescribeSlackWorkspacesResponse.Builder
extends ChatbotResponse.Builder, SdkPojo, CopyableBuilder<DescribeSlackWorkspacesResponse.Builder,DescribeSlackWorkspacesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn optional token returned from a prior request.slackWorkspaces
(Collection<SlackWorkspace> slackWorkspaces) A list of Slack Workspaces registered with AWS Chatbot.slackWorkspaces
(Consumer<SlackWorkspace.Builder>... slackWorkspaces) A list of Slack Workspaces registered with AWS Chatbot.slackWorkspaces
(SlackWorkspace... slackWorkspaces) A list of Slack Workspaces registered with AWS Chatbot.Methods inherited from interface software.amazon.awssdk.services.chatbot.model.ChatbotResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
slackWorkspaces
A list of Slack Workspaces registered with AWS Chatbot.- Parameters:
slackWorkspaces
- A list of Slack Workspaces registered with AWS Chatbot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slackWorkspaces
A list of Slack Workspaces registered with AWS Chatbot.- Parameters:
slackWorkspaces
- A list of Slack Workspaces registered with AWS Chatbot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slackWorkspaces
DescribeSlackWorkspacesResponse.Builder slackWorkspaces(Consumer<SlackWorkspace.Builder>... slackWorkspaces) A list of Slack Workspaces registered with AWS Chatbot. This is a convenience method that creates an instance of theSlackWorkspace.Builder
avoiding the need to create one manually viaSlackWorkspace.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toslackWorkspaces(List<SlackWorkspace>)
.- Parameters:
slackWorkspaces
- a consumer that will call methods onSlackWorkspace.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.- Parameters:
nextToken
- An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-