Interface ListGuardrailsResponse.Builder

  • Method Details

    • guardrails

      A list of objects, each of which contains details about a guardrail.

      Parameters:
      guardrails - A list of objects, each of which contains details about a guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • guardrails

      A list of objects, each of which contains details about a guardrail.

      Parameters:
      guardrails - A list of objects, each of which contains details about a guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • guardrails

      A list of objects, each of which contains details about a guardrail.

      This is a convenience method that creates an instance of the GuardrailSummary.Builder avoiding the need to create one manually via GuardrailSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to guardrails(List<GuardrailSummary>).

      Parameters:
      guardrails - a consumer that will call methods on GuardrailSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      ListGuardrailsResponse.Builder nextToken(String nextToken)

      If there are more results than were returned in the response, the response returns a nextToken that you can send in another ListGuardrails request to see the next batch of results.

      Parameters:
      nextToken - If there are more results than were returned in the response, the response returns a nextToken that you can send in another ListGuardrails request to see the next batch of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.