Interface GuardrailSensitiveInformationPolicyAssessment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GuardrailSensitiveInformationPolicyAssessment.Builder,
,GuardrailSensitiveInformationPolicyAssessment> SdkBuilder<GuardrailSensitiveInformationPolicyAssessment.Builder,
,GuardrailSensitiveInformationPolicyAssessment> SdkPojo
- Enclosing class:
GuardrailSensitiveInformationPolicyAssessment
@Mutable
@NotThreadSafe
public static interface GuardrailSensitiveInformationPolicyAssessment.Builder
extends SdkPojo, CopyableBuilder<GuardrailSensitiveInformationPolicyAssessment.Builder,GuardrailSensitiveInformationPolicyAssessment>
-
Method Summary
Modifier and TypeMethodDescriptionpiiEntities
(Collection<GuardrailPiiEntityFilter> piiEntities) The PII entities in the assessment.piiEntities
(Consumer<GuardrailPiiEntityFilter.Builder>... piiEntities) The PII entities in the assessment.piiEntities
(GuardrailPiiEntityFilter... piiEntities) The PII entities in the assessment.regexes
(Collection<GuardrailRegexFilter> regexes) The regex queries in the assessment.regexes
(Consumer<GuardrailRegexFilter.Builder>... regexes) The regex queries in the assessment.regexes
(GuardrailRegexFilter... regexes) The regex queries in the assessment.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 PII entities in the assessment.
- Parameters:
piiEntities
- The PII entities in the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
piiEntities
GuardrailSensitiveInformationPolicyAssessment.Builder piiEntities(GuardrailPiiEntityFilter... piiEntities) The PII entities in the assessment.
- Parameters:
piiEntities
- The PII entities in the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
piiEntities
GuardrailSensitiveInformationPolicyAssessment.Builder piiEntities(Consumer<GuardrailPiiEntityFilter.Builder>... piiEntities) The PII entities in the assessment.
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 regex queries in the assessment.
- Parameters:
regexes
- The regex queries in the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regexes
The regex queries in the assessment.
- Parameters:
regexes
- The regex queries in the assessment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regexes
GuardrailSensitiveInformationPolicyAssessment.Builder regexes(Consumer<GuardrailRegexFilter.Builder>... regexes) The regex queries in the assessment.
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:
-