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 Summary
Modifier and TypeMethodDescriptionguardrailIdentifier
(String guardrailIdentifier) The unique identifier of the guardrail.maxResults
(Integer maxResults) The maximum number of results to return in the response.If there are more results than were returned in the response, the response returns anextToken
that you can send in anotherListGuardrails
request to see the next batch of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
If there are more results than were returned in the response, the response returns a
nextToken
that you can send in anotherListGuardrails
request to see the next batch of results.- Parameters:
nextToken
- If there are more results than were returned in the response, the response returns anextToken
that you can send in anotherListGuardrails
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListGuardrailsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-