@Stability(value=Stable)
public static interface CfnMember.VotingPolicyProperty
extends software.amazon.jsii.JsiiSerializable
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 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.
|
@Stability(value=Stable) @Nullable default Object getApprovalThresholdPolicy()
The policy applies to all proposals and is specified when the network is created.
@Stability(value=Stable) static CfnMember.VotingPolicyProperty.Builder builder()
Copyright © 2022. All rights reserved.