@Stability(value=Stable) @Internal public static final class CfnMember.ApprovalThresholdPolicyProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnMember.ApprovalThresholdPolicyProperty
CfnMember.ApprovalThresholdPolicyPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnMember.ApprovalThresholdPolicyProperty.Builder, CfnMember.ApprovalThresholdPolicyProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnMember.ApprovalThresholdPolicyProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnMember.ApprovalThresholdPolicyProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getProposalDurationInHours()
The duration from the time that a proposal is created until it expires.
|
String |
getThresholdComparator()
Determines whether the vote percentage must be greater than the `ThresholdPercentage` or must be greater than or equal to the `ThreholdPercentage` to be approved.
|
Number |
getThresholdPercentage()
The percentage of votes among all members that must be `YES` for a proposal to be approved.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnMember.ApprovalThresholdPolicyProperty.Builder builder)
CfnMember.ApprovalThresholdPolicyProperty.Builder.public final Number getProposalDurationInHours()
CfnMember.ApprovalThresholdPolicyProperty
If members cast neither the required number of YES votes to approve the proposal nor the number of NO votes required to reject it before the duration expires, the proposal is EXPIRED and ProposalActions are not carried out.
getProposalDurationInHours in interface CfnMember.ApprovalThresholdPolicyPropertypublic final String getThresholdComparator()
CfnMember.ApprovalThresholdPolicyPropertygetThresholdComparator in interface CfnMember.ApprovalThresholdPolicyPropertypublic final Number getThresholdPercentage()
CfnMember.ApprovalThresholdPolicyProperty
For example, a ThresholdPercentage value of 50 indicates 50%. The ThresholdComparator determines the precise comparison. If a ThresholdPercentage value of 50 is specified on a network with 10 members, along with a ThresholdComparator value of GREATER_THAN , this indicates that 6 YES votes are required for the proposal to be approved.
getThresholdPercentage in interface CfnMember.ApprovalThresholdPolicyProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.