Interface ApprovalStrategy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ApprovalStrategy.Builder,
,ApprovalStrategy> SdkBuilder<ApprovalStrategy.Builder,
,ApprovalStrategy> SdkPojo
- Enclosing class:
ApprovalStrategy
@Mutable
@NotThreadSafe
public static interface ApprovalStrategy.Builder
extends SdkPojo, CopyableBuilder<ApprovalStrategy.Builder,ApprovalStrategy>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ApprovalStrategy.Builder
Minimum number of approvals (M) required for a total number of approvers (N).mofN
(MofNApprovalStrategy mofN) Minimum number of approvals (M) required for a total number of approvers (N).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
-
mofN
Minimum number of approvals (M) required for a total number of approvers (N).
- Parameters:
mofN
- Minimum number of approvals (M) required for a total number of approvers (N).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mofN
Minimum number of approvals (M) required for a total number of approvers (N).
This is a convenience method that creates an instance of theMofNApprovalStrategy.Builder
avoiding the need to create one manually viaMofNApprovalStrategy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomofN(MofNApprovalStrategy)
.- Parameters:
mofN
- a consumer that will call methods onMofNApprovalStrategy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-