Interface SlackWorkspace.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SlackWorkspace.Builder,
,SlackWorkspace> SdkBuilder<SlackWorkspace.Builder,
,SlackWorkspace> SdkPojo
- Enclosing class:
SlackWorkspace
@Mutable
@NotThreadSafe
public static interface SlackWorkspace.Builder
extends SdkPojo, CopyableBuilder<SlackWorkspace.Builder,SlackWorkspace>
-
Method Summary
Modifier and TypeMethodDescriptionslackTeamId
(String slackTeamId) The ID of the Slack workspace authorized with AWS Chatbot.slackTeamName
(String slackTeamName) The name of the Slack workspace.EitherENABLED
orDISABLED
.stateReason
(String stateReason) Provided if State isDISABLED
.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
-
Method Details
-
slackTeamId
The ID of the Slack workspace authorized with AWS Chatbot.
- Parameters:
slackTeamId
- The ID of the Slack workspace authorized with AWS Chatbot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slackTeamName
The name of the Slack workspace.
- Parameters:
slackTeamName
- The name of the Slack workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Either
ENABLED
orDISABLED
. The resource returnsDISABLED
if the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.- Parameters:
state
- EitherENABLED
orDISABLED
. The resource returnsDISABLED
if the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateReason
Provided if State is
DISABLED
. Provides context as to why the resource is disabled.- Parameters:
stateReason
- Provided if State isDISABLED
. Provides context as to why the resource is disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-