Interface CreateAiGuardrailVersionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAiGuardrailVersionRequest.Builder,
,CreateAiGuardrailVersionRequest> QConnectRequest.Builder
,SdkBuilder<CreateAiGuardrailVersionRequest.Builder,
,CreateAiGuardrailVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAiGuardrailVersionRequest
@Mutable
@NotThreadSafe
public static interface CreateAiGuardrailVersionRequest.Builder
extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateAiGuardrailVersionRequest.Builder,CreateAiGuardrailVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaiGuardrailId
(String aiGuardrailId) The identifier of the Amazon Q in Connect AI Guardrail.assistantId
(String assistantId) The identifier of the Amazon Q in Connect assistant.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.modifiedTime
(Instant modifiedTime) The time the AI Guardrail was last modified.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.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.Builder
build
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
-
assistantId
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
assistantId
- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiGuardrailId
The identifier of the Amazon Q in Connect AI Guardrail.
- Parameters:
aiGuardrailId
- The identifier of the Amazon Q in Connect AI Guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedTime
The time the AI Guardrail was last modified.
- Parameters:
modifiedTime
- The time the AI Guardrail was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAiGuardrailVersionRequest.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
CreateAiGuardrailVersionRequest.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.
-