| Package | Description |
|---|---|
| com.amazonaws.services.managedblockchain.model |
| Modifier and Type | Method and Description |
|---|---|
ApprovalThresholdPolicy |
ApprovalThresholdPolicy.clone() |
ApprovalThresholdPolicy |
VotingPolicy.getApprovalThresholdPolicy()
Defines the rules for the network for voting on proposals, such as the percentage of
YES votes
required for the proposal to be approved and the duration of the proposal. |
ApprovalThresholdPolicy |
ApprovalThresholdPolicy.withProposalDurationInHours(Integer proposalDurationInHours)
The duration from the time that a proposal is created until it expires.
|
ApprovalThresholdPolicy |
ApprovalThresholdPolicy.withThresholdComparator(String thresholdComparator)
Determines whether the vote percentage must be greater than the
ThresholdPercentage or must be
greater than or equal to the ThresholdPercentage to be approved. |
ApprovalThresholdPolicy |
ApprovalThresholdPolicy.withThresholdComparator(ThresholdComparator thresholdComparator)
Determines whether the vote percentage must be greater than the
ThresholdPercentage or must be
greater than or equal to the ThresholdPercentage to be approved. |
ApprovalThresholdPolicy |
ApprovalThresholdPolicy.withThresholdPercentage(Integer thresholdPercentage)
The percentage of votes among all members that must be
YES for a proposal to be approved. |
| Modifier and Type | Method and Description |
|---|---|
void |
VotingPolicy.setApprovalThresholdPolicy(ApprovalThresholdPolicy approvalThresholdPolicy)
Defines the rules for the network for voting on proposals, such as the percentage of
YES votes
required for the proposal to be approved and the duration of the proposal. |
VotingPolicy |
VotingPolicy.withApprovalThresholdPolicy(ApprovalThresholdPolicy approvalThresholdPolicy)
Defines the rules for the network for voting on proposals, such as the percentage of
YES votes
required for the proposal to be approved and the duration of the proposal. |
Copyright © 2025. All rights reserved.