Interface ListGuardrailsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, BedrockRequest.Builder, Buildable, CopyableBuilder<ListGuardrailsRequest.Builder,ListGuardrailsRequest>, SdkBuilder<ListGuardrailsRequest.Builder,ListGuardrailsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListGuardrailsRequest

public static interface ListGuardrailsRequest.Builder extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<ListGuardrailsRequest.Builder,ListGuardrailsRequest>
  • Method Details

    • guardrailIdentifier

      ListGuardrailsRequest.Builder guardrailIdentifier(String guardrailIdentifier)

      The unique identifier of the guardrail.

      Parameters:
      guardrailIdentifier - The unique identifier of the guardrail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListGuardrailsRequest.Builder maxResults(Integer maxResults)

      The maximum number of results to return in the response.

      Parameters:
      maxResults - The maximum number of results to return in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListGuardrailsRequest.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.
    • overrideConfiguration

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