Interface CreateChatRequest.Builder

  • Method Details

    • agentSpaceId

      CreateChatRequest.Builder agentSpaceId(String agentSpaceId)
      Sets the value of the AgentSpaceId property for this object.
      Parameters:
      agentSpaceId - The new value for the AgentSpaceId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userId

      Deprecated.
      userId is managed by the service and should not be provided by the caller

      The user identifier for the chat. This field is deprecated and will be ignored — the service resolves user identity from the authenticated session.

      Parameters:
      userId - The user identifier for the chat. This field is deprecated and will be ignored — the service resolves user identity from the authenticated session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userType

      CreateChatRequest.Builder userType(String userType)

      The authentication type of the user

      Parameters:
      userType - The authentication type of the user
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • userType

      CreateChatRequest.Builder userType(UserType userType)

      The authentication type of the user

      Parameters:
      userType - The authentication type of the user
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateChatRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.