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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SlackWorkspace.BuilderslackTeamId(String slackTeamId)The ID of the Slack workspace authorized with AWS Chatbot.SlackWorkspace.BuilderslackTeamName(String slackTeamName)The name of the Slack workspace.SlackWorkspace.Builderstate(String state)EitherENABLEDorDISABLED.SlackWorkspace.BuilderstateReason(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 Detail
-
slackTeamId
SlackWorkspace.Builder slackTeamId(String 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
SlackWorkspace.Builder slackTeamName(String 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
SlackWorkspace.Builder state(String 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
SlackWorkspace.Builder stateReason(String 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.
-
-