public static interface CfnMember.VotingPolicyProperty
Applies only to Hyperledger Fabric.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.managedblockchain.*; VotingPolicyProperty votingPolicyProperty = VotingPolicyProperty.builder() .approvalThresholdPolicy(ApprovalThresholdPolicyProperty.builder() .proposalDurationInHours(123) .thresholdComparator("thresholdComparator") .thresholdPercentage(123) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnMember.VotingPolicyProperty.Builder
A builder for
CfnMember.VotingPolicyProperty |
static class |
CfnMember.VotingPolicyProperty.Jsii$Proxy
An implementation for
CfnMember.VotingPolicyProperty |
Modifier and Type | Method and Description |
---|---|
static CfnMember.VotingPolicyProperty.Builder |
builder() |
default java.lang.Object |
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.
|
default java.lang.Object getApprovalThresholdPolicy()
The policy applies to all proposals and is specified when the network is created.
static CfnMember.VotingPolicyProperty.Builder builder()