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.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
-
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:
-