Interface GuardrailSensitiveInformationPolicyAssessment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GuardrailSensitiveInformationPolicyAssessment.Builder,
,GuardrailSensitiveInformationPolicyAssessment> SdkBuilder<GuardrailSensitiveInformationPolicyAssessment.Builder,
,GuardrailSensitiveInformationPolicyAssessment> SdkPojo
- Enclosing class:
GuardrailSensitiveInformationPolicyAssessment
-
Method Summary
Modifier and TypeMethodDescriptionpiiEntities
(Collection<GuardrailPiiEntityFilter> piiEntities) The details of the PII entities used in the sensitive policy assessment for the Guardrail.piiEntities
(Consumer<GuardrailPiiEntityFilter.Builder>... piiEntities) The details of the PII entities used in the sensitive policy assessment for the Guardrail.piiEntities
(GuardrailPiiEntityFilter... piiEntities) The details of the PII entities used in the sensitive policy assessment for the Guardrail.regexes
(Collection<GuardrailRegexFilter> regexes) The details of the regexes used in the sensitive policy assessment for the Guardrail.regexes
(Consumer<GuardrailRegexFilter.Builder>... regexes) The details of the regexes used in the sensitive policy assessment for the Guardrail.regexes
(GuardrailRegexFilter... regexes) The details of the regexes used in the sensitive policy assessment for the Guardrail.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
-
piiEntities
GuardrailSensitiveInformationPolicyAssessment.Builder piiEntities(Collection<GuardrailPiiEntityFilter> piiEntities) The details of the PII entities used in the sensitive policy assessment for the Guardrail.
- Parameters:
piiEntities
- The details of the PII entities used in the sensitive policy assessment for the Guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
piiEntities
GuardrailSensitiveInformationPolicyAssessment.Builder piiEntities(GuardrailPiiEntityFilter... piiEntities) The details of the PII entities used in the sensitive policy assessment for the Guardrail.
- Parameters:
piiEntities
- The details of the PII entities used in the sensitive policy assessment for the Guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
piiEntities
GuardrailSensitiveInformationPolicyAssessment.Builder piiEntities(Consumer<GuardrailPiiEntityFilter.Builder>... piiEntities) The details of the PII entities used in the sensitive policy assessment for the Guardrail.
This is a convenience method that creates an instance of theGuardrailPiiEntityFilter.Builder
avoiding the need to create one manually viaGuardrailPiiEntityFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topiiEntities(List<GuardrailPiiEntityFilter>)
.- Parameters:
piiEntities
- a consumer that will call methods onGuardrailPiiEntityFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
regexes
GuardrailSensitiveInformationPolicyAssessment.Builder regexes(Collection<GuardrailRegexFilter> regexes) The details of the regexes used in the sensitive policy assessment for the Guardrail.
- Parameters:
regexes
- The details of the regexes used in the sensitive policy assessment for the Guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regexes
The details of the regexes used in the sensitive policy assessment for the Guardrail.
- Parameters:
regexes
- The details of the regexes used in the sensitive policy assessment for the Guardrail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regexes
GuardrailSensitiveInformationPolicyAssessment.Builder regexes(Consumer<GuardrailRegexFilter.Builder>... regexes) The details of the regexes used in the sensitive policy assessment for the Guardrail.
This is a convenience method that creates an instance of theGuardrailRegexFilter.Builder
avoiding the need to create one manually viaGuardrailRegexFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toregexes(List<GuardrailRegexFilter>)
.- Parameters:
regexes
- a consumer that will call methods onGuardrailRegexFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-