Interface UpdateAiGuardrailResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateAiGuardrailResponse.Builder,UpdateAiGuardrailResponse>,QConnectResponse.Builder,SdkBuilder<UpdateAiGuardrailResponse.Builder,UpdateAiGuardrailResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateAiGuardrailResponse
public static interface UpdateAiGuardrailResponse.Builder extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<UpdateAiGuardrailResponse.Builder,UpdateAiGuardrailResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateAiGuardrailResponse.BuilderaiGuardrail(Consumer<AIGuardrailData.Builder> aiGuardrail)The data of the updated Amazon Q in Connect AI Guardrail.UpdateAiGuardrailResponse.BuilderaiGuardrail(AIGuardrailData aiGuardrail)The data of the updated Amazon Q in Connect AI Guardrail.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
aiGuardrail
UpdateAiGuardrailResponse.Builder aiGuardrail(AIGuardrailData aiGuardrail)
The data of the updated Amazon Q in Connect AI Guardrail.
- Parameters:
aiGuardrail- The data of the updated Amazon Q in Connect AI Guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiGuardrail
default UpdateAiGuardrailResponse.Builder aiGuardrail(Consumer<AIGuardrailData.Builder> aiGuardrail)
The data of the updated Amazon Q in Connect AI Guardrail.
This is a convenience method that creates an instance of theAIGuardrailData.Builderavoiding the need to create one manually viaAIGuardrailData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaiGuardrail(AIGuardrailData).- Parameters:
aiGuardrail- a consumer that will call methods onAIGuardrailData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
aiGuardrail(AIGuardrailData)
-
-