| Package | Description |
|---|---|
| software.amazon.awssdk.services.managedblockchain.model |
| Modifier and Type | Method and Description |
|---|---|
static ApprovalThresholdPolicy.Builder |
ApprovalThresholdPolicy.builder() |
ApprovalThresholdPolicy.Builder |
ApprovalThresholdPolicy.Builder.proposalDurationInHours(Integer proposalDurationInHours)
The duration from the time that a proposal is created until it expires.
|
ApprovalThresholdPolicy.Builder |
ApprovalThresholdPolicy.Builder.thresholdComparator(String 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. |
ApprovalThresholdPolicy.Builder |
ApprovalThresholdPolicy.Builder.thresholdComparator(ThresholdComparator 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. |
ApprovalThresholdPolicy.Builder |
ApprovalThresholdPolicy.Builder.thresholdPercentage(Integer thresholdPercentage)
The percentage of votes among all members that must be
YES for a proposal to be approved. |
ApprovalThresholdPolicy.Builder |
ApprovalThresholdPolicy.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends ApprovalThresholdPolicy.Builder> |
ApprovalThresholdPolicy.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default VotingPolicy.Builder |
VotingPolicy.Builder.approvalThresholdPolicy(Consumer<ApprovalThresholdPolicy.Builder> 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 © 2023. All rights reserved.