Interface AccountEnforcedGuardrailInferenceInputConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccountEnforcedGuardrailInferenceInputConfiguration.Builder,,AccountEnforcedGuardrailInferenceInputConfiguration> SdkBuilder<AccountEnforcedGuardrailInferenceInputConfiguration.Builder,,AccountEnforcedGuardrailInferenceInputConfiguration> SdkPojo
- Enclosing class:
AccountEnforcedGuardrailInferenceInputConfiguration
@Mutable
@NotThreadSafe
public static interface AccountEnforcedGuardrailInferenceInputConfiguration.Builder
extends SdkPojo, CopyableBuilder<AccountEnforcedGuardrailInferenceInputConfiguration.Builder,AccountEnforcedGuardrailInferenceInputConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionguardrailIdentifier(String guardrailIdentifier) Identifier for the guardrail, could be the ID or the ARN.guardrailVersion(String guardrailVersion) Numerical guardrail version.Whether to honor or ignore input tags at runtime.Whether to honor or ignore input tags at runtime.modelEnforcement(Consumer<ModelEnforcement.Builder> modelEnforcement) Model-specific information for the enforced guardrail configuration.modelEnforcement(ModelEnforcement modelEnforcement) Model-specific information for the enforced guardrail configuration.Methods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
guardrailIdentifier
AccountEnforcedGuardrailInferenceInputConfiguration.Builder guardrailIdentifier(String guardrailIdentifier) Identifier for the guardrail, could be the ID or the ARN.
- Parameters:
guardrailIdentifier- Identifier for the guardrail, could be the ID or the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
guardrailVersion
AccountEnforcedGuardrailInferenceInputConfiguration.Builder guardrailVersion(String guardrailVersion) Numerical guardrail version.
- Parameters:
guardrailVersion- Numerical guardrail version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputTags
Whether to honor or ignore input tags at runtime.
- Parameters:
inputTags- Whether to honor or ignore input tags at runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputTags
Whether to honor or ignore input tags at runtime.
- Parameters:
inputTags- Whether to honor or ignore input tags at runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelEnforcement
AccountEnforcedGuardrailInferenceInputConfiguration.Builder modelEnforcement(ModelEnforcement modelEnforcement) Model-specific information for the enforced guardrail configuration. If not present, the configuration is enforced on all models
- Parameters:
modelEnforcement- Model-specific information for the enforced guardrail configuration. If not present, the configuration is enforced on all models- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelEnforcement
default AccountEnforcedGuardrailInferenceInputConfiguration.Builder modelEnforcement(Consumer<ModelEnforcement.Builder> modelEnforcement) Model-specific information for the enforced guardrail configuration. If not present, the configuration is enforced on all models
This is a convenience method that creates an instance of theModelEnforcement.Builderavoiding the need to create one manually viaModelEnforcement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelEnforcement(ModelEnforcement).- Parameters:
modelEnforcement- a consumer that will call methods onModelEnforcement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-