Class CfnMember.ApprovalThresholdPolicyProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.managedblockchain.CfnMember.ApprovalThresholdPolicyProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnMember.ApprovalThresholdPolicyProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnMember.ApprovalThresholdPolicyProperty
@Stability(Stable)
@Internal
public static final class CfnMember.ApprovalThresholdPolicyProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnMember.ApprovalThresholdPolicyProperty
An implementation for
CfnMember.ApprovalThresholdPolicyProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.managedblockchain.CfnMember.ApprovalThresholdPolicyProperty
CfnMember.ApprovalThresholdPolicyProperty.Builder, CfnMember.ApprovalThresholdPolicyProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnMember.ApprovalThresholdPolicyProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal NumberThe duration from the time that a proposal is created until it expires.final StringDetermines whether the vote percentage must be greater than theThresholdPercentageor must be greater than or equal to theThreholdPercentageto be approved.final NumberThe percentage of votes among all members that must beYESfor a proposal to be approved.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnMember.ApprovalThresholdPolicyProperty.Builder.
-
-
Method Details
-
getProposalDurationInHours
Description copied from interface:CfnMember.ApprovalThresholdPolicyPropertyThe duration from the time that a proposal is created until it expires.If members cast neither the required number of
YESvotes to approve the proposal nor the number ofNOvotes required to reject it before the duration expires, the proposal isEXPIREDandProposalActionsaren't carried out.- Specified by:
getProposalDurationInHoursin interfaceCfnMember.ApprovalThresholdPolicyProperty
-
getThresholdComparator
Description copied from interface:CfnMember.ApprovalThresholdPolicyPropertyDetermines whether the vote percentage must be greater than theThresholdPercentageor must be greater than or equal to theThreholdPercentageto be approved.- Specified by:
getThresholdComparatorin interfaceCfnMember.ApprovalThresholdPolicyProperty
-
getThresholdPercentage
Description copied from interface:CfnMember.ApprovalThresholdPolicyPropertyThe percentage of votes among all members that must beYESfor a proposal to be approved.For example, a
ThresholdPercentagevalue of50indicates 50%. TheThresholdComparatordetermines the precise comparison. If aThresholdPercentagevalue of50is specified on a network with 10 members, along with aThresholdComparatorvalue ofGREATER_THAN, this indicates that 6YESvotes are required for the proposal to be approved.- Specified by:
getThresholdPercentagein interfaceCfnMember.ApprovalThresholdPolicyProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-