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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.managedblockchain.CfnMember.ApprovalThresholdPolicyProperty
CfnMember.ApprovalThresholdPolicyProperty.Builder, CfnMember.ApprovalThresholdPolicyProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnMember.ApprovalThresholdPolicyProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final Number
The duration from the time that a proposal is created until it expires.final String
Determines whether the vote percentage must be greater than theThresholdPercentage
or must be greater than or equal to theThreholdPercentage
to be approved.final Number
The percentage of votes among all members that must beYES
for a proposal to be approved.final int
hashCode()
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.ApprovalThresholdPolicyProperty
The duration from the time that a proposal is created until it expires.If members cast neither the required number of
YES
votes to approve the proposal nor the number ofNO
votes required to reject it before the duration expires, the proposal isEXPIRED
andProposalActions
aren't carried out.- Specified by:
getProposalDurationInHours
in interfaceCfnMember.ApprovalThresholdPolicyProperty
-
getThresholdComparator
Description copied from interface:CfnMember.ApprovalThresholdPolicyProperty
Determines whether the vote percentage must be greater than theThresholdPercentage
or must be greater than or equal to theThreholdPercentage
to be approved.- Specified by:
getThresholdComparator
in interfaceCfnMember.ApprovalThresholdPolicyProperty
-
getThresholdPercentage
Description copied from interface:CfnMember.ApprovalThresholdPolicyProperty
The percentage of votes among all members that must beYES
for a proposal to be approved.For example, a
ThresholdPercentage
value of50
indicates 50%. TheThresholdComparator
determines the precise comparison. If aThresholdPercentage
value of50
is specified on a network with 10 members, along with aThresholdComparator
value ofGREATER_THAN
, this indicates that 6YES
votes are required for the proposal to be approved.- Specified by:
getThresholdPercentage
in interfaceCfnMember.ApprovalThresholdPolicyProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-