Interface GetGuardrailRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockRequest.Builder
,Buildable
,CopyableBuilder<GetGuardrailRequest.Builder,
,GetGuardrailRequest> SdkBuilder<GetGuardrailRequest.Builder,
,GetGuardrailRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetGuardrailRequest
@Mutable
@NotThreadSafe
public static interface GetGuardrailRequest.Builder
extends BedrockRequest.Builder, SdkPojo, CopyableBuilder<GetGuardrailRequest.Builder,GetGuardrailRequest>
-
Method Summary
Modifier and TypeMethodDescriptionguardrailIdentifier
(String guardrailIdentifier) The unique identifier of the guardrail for which to get details.guardrailVersion
(String guardrailVersion) The version of the guardrail for which to get details.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, sdkFieldNameToField, sdkFields
-
Method Details
-
guardrailIdentifier
The unique identifier of the guardrail for which to get details. This can be an ID or the ARN.
- Parameters:
guardrailIdentifier
- The unique identifier of the guardrail for which to get details. This can be an ID or the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
guardrailVersion
The version of the guardrail for which to get details. If you don't specify a version, the response returns details for the
DRAFT
version.- Parameters:
guardrailVersion
- The version of the guardrail for which to get details. If you don't specify a version, the response returns details for theDRAFT
version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetGuardrailRequest.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
GetGuardrailRequest.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.
-