@Stability(value=Stable) public static final class CfnMember.ApprovalThresholdPolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnMember.ApprovalThresholdPolicyProperty>
CfnMember.ApprovalThresholdPolicyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnMember.ApprovalThresholdPolicyProperty |
build()
Builds the configured instance.
|
CfnMember.ApprovalThresholdPolicyProperty.Builder |
proposalDurationInHours(Number proposalDurationInHours)
Sets the value of
CfnMember.ApprovalThresholdPolicyProperty.getProposalDurationInHours() |
CfnMember.ApprovalThresholdPolicyProperty.Builder |
thresholdComparator(String thresholdComparator)
Sets the value of
CfnMember.ApprovalThresholdPolicyProperty.getThresholdComparator() |
CfnMember.ApprovalThresholdPolicyProperty.Builder |
thresholdPercentage(Number thresholdPercentage)
Sets the value of
CfnMember.ApprovalThresholdPolicyProperty.getThresholdPercentage() |
@Stability(value=Stable) public CfnMember.ApprovalThresholdPolicyProperty.Builder proposalDurationInHours(Number proposalDurationInHours)
CfnMember.ApprovalThresholdPolicyProperty.getProposalDurationInHours()proposalDurationInHours - The duration from the time that a proposal is created until it expires.
If members cast neither the required number of YES votes to approve the proposal nor the number of NO votes required to reject it before the duration expires, the proposal is EXPIRED and ProposalActions are not carried out.this@Stability(value=Stable) public CfnMember.ApprovalThresholdPolicyProperty.Builder thresholdComparator(String thresholdComparator)
CfnMember.ApprovalThresholdPolicyProperty.getThresholdComparator()thresholdComparator - Determines whether the vote percentage must be greater than the `ThresholdPercentage` or must be greater than or equal to the `ThreholdPercentage` to be approved.this@Stability(value=Stable) public CfnMember.ApprovalThresholdPolicyProperty.Builder thresholdPercentage(Number thresholdPercentage)
CfnMember.ApprovalThresholdPolicyProperty.getThresholdPercentage()thresholdPercentage - The percentage of votes among all members that must be `YES` for a proposal to be approved.
For example, a ThresholdPercentage value of 50 indicates 50%. The ThresholdComparator determines the precise comparison. If a ThresholdPercentage value of 50 is specified on a network with 10 members, along with a ThresholdComparator value of GREATER_THAN , this indicates that 6 YES votes are required for the proposal to be approved.this@Stability(value=Stable) public CfnMember.ApprovalThresholdPolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnMember.ApprovalThresholdPolicyProperty>CfnMember.ApprovalThresholdPolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.