Interface ChatRequest.Builder

  • Method Details

    • message

      ChatRequest.Builder message(String message)

      The chat message to send to the AWS Assurance agent.

      Parameters:
      message - The chat message to send to the AWS Assurance agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionId

      ChatRequest.Builder sessionId(String sessionId)

      The session to continue. Pass the sessionId returned by a previous Chat call to continue that session. If you omit it, AWS Assurance starts a new session. If the session doesn't exist or has expired, the operation returns ResourceNotFoundException. If the format isn't valid, the operation returns ValidationException.

      Parameters:
      sessionId - The session to continue. Pass the sessionId returned by a previous Chat call to continue that session. If you omit it, AWS Assurance starts a new session. If the session doesn't exist or has expired, the operation returns ResourceNotFoundException. If the format isn't valid, the operation returns ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • environmentArn

      ChatRequest.Builder environmentArn(String environmentArn)

      The ARN of this governance environment.

      Parameters:
      environmentArn - The ARN of this governance environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expectedSequenceNumber

      ChatRequest.Builder expectedSequenceNumber(Long expectedSequenceNumber)

      The sequence number of the last message you received. If the service detects a more recent sequence number, the request fails with ConflictException, indicating a concurrent update.

      Parameters:
      expectedSequenceNumber - The sequence number of the last message you received. If the service detects a more recent sequence number, the request fails with ConflictException, indicating a concurrent update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ChatRequest.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

      ChatRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
      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.