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 anextTokenthat you can send in anotherListGuardrailsrequest 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
guardrailIdentifier
The unique identifier of the guardrail. This can be an ID or the ARN.
- Parameters:
guardrailIdentifier- The unique identifier of the guardrail. This can be an ID or the ARN.- 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
nextTokenthat you can send in anotherListGuardrailsrequest to see the next batch of results.- Parameters:
nextToken- If there are more results than were returned in the response, the response returns anextTokenthat you can send in anotherListGuardrailsrequest 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-