Interface CreateAiGuardrailVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateAiGuardrailVersionResponse.Builder,,CreateAiGuardrailVersionResponse> QConnectResponse.Builder,SdkBuilder<CreateAiGuardrailVersionResponse.Builder,,CreateAiGuardrailVersionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateAiGuardrailVersionResponse
@Mutable
@NotThreadSafe
public static interface CreateAiGuardrailVersionResponse.Builder
extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateAiGuardrailVersionResponse.Builder,CreateAiGuardrailVersionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaiGuardrail(Consumer<AIGuardrailData.Builder> aiGuardrail) The data of the AI Guardrail version.aiGuardrail(AIGuardrailData aiGuardrail) The data of the AI Guardrail version.versionNumber(Long versionNumber) The version number of the AI Guardrail version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
aiGuardrail
The data of the AI Guardrail version.
- Parameters:
aiGuardrail- The data of the AI Guardrail version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiGuardrail
default CreateAiGuardrailVersionResponse.Builder aiGuardrail(Consumer<AIGuardrailData.Builder> aiGuardrail) The data of the AI Guardrail version.
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:
-
versionNumber
The version number of the AI Guardrail version.
- Parameters:
versionNumber- The version number of the AI Guardrail version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-