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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeSlackWorkspacesResponse.BuildernextToken(String nextToken)An optional token returned from a prior request.DescribeSlackWorkspacesResponse.BuilderslackWorkspaces(Collection<SlackWorkspace> slackWorkspaces)A list of Slack workspaces registered with AWS Chatbot.DescribeSlackWorkspacesResponse.BuilderslackWorkspaces(Consumer<SlackWorkspace.Builder>... slackWorkspaces)A list of Slack workspaces registered with AWS Chatbot.DescribeSlackWorkspacesResponse.BuilderslackWorkspaces(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
slackWorkspaces
DescribeSlackWorkspacesResponse.Builder slackWorkspaces(Collection<SlackWorkspace> 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(SlackWorkspace... 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.Builderavoiding the need to create one manually viaSlackWorkspace.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#slackWorkspaces(List.) - 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:
#slackWorkspaces(java.util.Collection)
-
nextToken
DescribeSlackWorkspacesResponse.Builder nextToken(String 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.
-
-