Interface SlackWorkspace.Builder

    • 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 ENABLED or DISABLED. The resource returns DISABLED if the organization's AWS Chatbot policy has explicitly denied that configuration. For example, if Amazon Chime is disabled.

        Parameters:
        state - Either ENABLED or DISABLED. The resource returns DISABLED 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

        SlackWorkspace.Builder stateReason​(String stateReason)

        Provided if State is DISABLED. Provides context as to why the resource is disabled.

        Parameters:
        stateReason - Provided if State is DISABLED. Provides context as to why the resource is disabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.