Interface RuleDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleDetail.Builder,RuleDetail>,SdkBuilder<RuleDetail.Builder,RuleDetail>,SdkPojo
- Enclosing class:
- RuleDetail
public static interface RuleDetail.Builder extends SdkPojo, CopyableBuilder<RuleDetail.Builder,RuleDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RuleDetail.BuildermetadataFormEnforcementDetail(Consumer<MetadataFormEnforcementDetail.Builder> metadataFormEnforcementDetail)The enforcement detail of the metadata form.RuleDetail.BuildermetadataFormEnforcementDetail(MetadataFormEnforcementDetail metadataFormEnforcementDetail)The enforcement detail of the metadata form.-
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 Detail
-
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:
metadataFormEnforcementDetail(MetadataFormEnforcementDetail)
-
-