Class CfnMemberPropsMixin.ApprovalThresholdPolicyProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.services.managedblockchain.mixins.CfnMemberPropsMixin.ApprovalThresholdPolicyProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnMemberPropsMixin.ApprovalThresholdPolicyProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnMemberPropsMixin.ApprovalThresholdPolicyProperty
@Stability(Stable)
@Internal
public static final class CfnMemberPropsMixin.ApprovalThresholdPolicyProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnMemberPropsMixin.ApprovalThresholdPolicyProperty
An implementation for
CfnMemberPropsMixin.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.mixins.preview.services.managedblockchain.mixins.CfnMemberPropsMixin.ApprovalThresholdPolicyProperty
CfnMemberPropsMixin.ApprovalThresholdPolicyProperty.Builder, CfnMemberPropsMixin.ApprovalThresholdPolicyProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnMemberPropsMixin.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 theThresholdPercentageto 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 theCfnMemberPropsMixin.ApprovalThresholdPolicyProperty.Builder.
-
-
Method Details
-
getProposalDurationInHours
Description copied from interface:CfnMemberPropsMixin.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 interfaceCfnMemberPropsMixin.ApprovalThresholdPolicyProperty- See Also:
-
getThresholdComparator
Description copied from interface:CfnMemberPropsMixin.ApprovalThresholdPolicyPropertyDetermines whether the vote percentage must be greater than theThresholdPercentageor must be greater than or equal to theThresholdPercentageto be approved.- Specified by:
getThresholdComparatorin interfaceCfnMemberPropsMixin.ApprovalThresholdPolicyProperty- See Also:
-
getThresholdPercentage
Description copied from interface:CfnMemberPropsMixin.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 interfaceCfnMemberPropsMixin.ApprovalThresholdPolicyProperty- See Also:
-
$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()
-