Interface RuleDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleDetail.Builder,,RuleDetail> SdkBuilder<RuleDetail.Builder,,RuleDetail> SdkPojo
- Enclosing class:
RuleDetail
@Mutable
@NotThreadSafe
public static interface RuleDetail.Builder
extends SdkPojo, CopyableBuilder<RuleDetail.Builder,RuleDetail>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleDetail.BuilderglossaryTermEnforcementDetail(Consumer<GlossaryTermEnforcementDetail.Builder> glossaryTermEnforcementDetail) The enforcement details of a glossary term that's part of the metadata rule.glossaryTermEnforcementDetail(GlossaryTermEnforcementDetail glossaryTermEnforcementDetail) The enforcement details of a glossary term that's part of the metadata rule.default RuleDetail.BuildermetadataFormEnforcementDetail(Consumer<MetadataFormEnforcementDetail.Builder> metadataFormEnforcementDetail) The enforcement detail of the metadata form.metadataFormEnforcementDetail(MetadataFormEnforcementDetail metadataFormEnforcementDetail) The enforcement detail of the metadata form.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
-
glossaryTermEnforcementDetail
RuleDetail.Builder glossaryTermEnforcementDetail(GlossaryTermEnforcementDetail glossaryTermEnforcementDetail) The enforcement details of a glossary term that's part of the metadata rule.
- Parameters:
glossaryTermEnforcementDetail- The enforcement details of a glossary term that's part of the metadata rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
glossaryTermEnforcementDetail
default RuleDetail.Builder glossaryTermEnforcementDetail(Consumer<GlossaryTermEnforcementDetail.Builder> glossaryTermEnforcementDetail) The enforcement details of a glossary term that's part of the metadata rule.
This is a convenience method that creates an instance of theGlossaryTermEnforcementDetail.Builderavoiding the need to create one manually viaGlossaryTermEnforcementDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toglossaryTermEnforcementDetail(GlossaryTermEnforcementDetail).- Parameters:
glossaryTermEnforcementDetail- a consumer that will call methods onGlossaryTermEnforcementDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metadataFormEnforcementDetail
RuleDetail.Builder metadataFormEnforcementDetail(MetadataFormEnforcementDetail metadataFormEnforcementDetail) The enforcement detail of the metadata form.
- Parameters:
metadataFormEnforcementDetail- The enforcement detail of the metadata form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataFormEnforcementDetail
default RuleDetail.Builder metadataFormEnforcementDetail(Consumer<MetadataFormEnforcementDetail.Builder> metadataFormEnforcementDetail) The enforcement detail of the metadata form.
This is a convenience method that creates an instance of theMetadataFormEnforcementDetail.Builderavoiding the need to create one manually viaMetadataFormEnforcementDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadataFormEnforcementDetail(MetadataFormEnforcementDetail).- Parameters:
metadataFormEnforcementDetail- a consumer that will call methods onMetadataFormEnforcementDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-