Interface SlackWorkspace.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SlackWorkspace.Builder,,SlackWorkspace> SdkBuilder<SlackWorkspace.Builder,,SlackWorkspace> SdkPojo
- Enclosing class:
SlackWorkspace
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.EitherENABLEDorDISABLED.stateReason(String stateReason) Provided if State isDISABLED.Methods 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, 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
ENABLEDorDISABLED. The resource returnsDISABLEDif the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.- Parameters:
state- EitherENABLEDorDISABLED. The resource returnsDISABLEDif 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.
-