Interface OwnershipControls.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<OwnershipControls.Builder,,OwnershipControls> SdkBuilder<OwnershipControls.Builder,,OwnershipControls> SdkPojo
- Enclosing class:
 OwnershipControls
public static interface OwnershipControls.Builder
extends SdkPojo, CopyableBuilder<OwnershipControls.Builder,OwnershipControls> 
- 
Method Summary
Modifier and TypeMethodDescriptionrules(Collection<OwnershipControlsRule> rules) The container element for an ownership control rule.rules(Consumer<OwnershipControlsRule.Builder>... rules) The container element for an ownership control rule.rules(OwnershipControlsRule... rules) The container element for an ownership control rule.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, sdkFields 
- 
Method Details
- 
rules
The container element for an ownership control rule.
- Parameters:
 rules- The container element for an ownership control rule.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
rules
The container element for an ownership control rule.
- Parameters:
 rules- The container element for an ownership control rule.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
rules
The container element for an ownership control rule.
This is a convenience method that creates an instance of theOwnershipControlsRule.Builderavoiding the need to create one manually viaOwnershipControlsRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<OwnershipControlsRule>).- Parameters:
 rules- a consumer that will call methods onOwnershipControlsRule.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -