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
  • Constructor Details

  • Method Details

    • getProposalDurationInHours

      public final Number 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 of NO votes required to reject it before the duration expires, the proposal is EXPIRED and ProposalActions aren't carried out.

      Specified by:
      getProposalDurationInHours in interface CfnMember.ApprovalThresholdPolicyProperty
    • getThresholdComparator

      public final String getThresholdComparator()
      Description copied from interface: CfnMember.ApprovalThresholdPolicyProperty
      Determines whether the vote percentage must be greater than the ThresholdPercentage or must be greater than or equal to the ThreholdPercentage to be approved.
      Specified by:
      getThresholdComparator in interface CfnMember.ApprovalThresholdPolicyProperty
    • getThresholdPercentage

      public final Number getThresholdPercentage()
      Description copied from interface: CfnMember.ApprovalThresholdPolicyProperty
      The percentage of votes among all members that must be YES for a proposal to be approved.

      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.

      Specified by:
      getThresholdPercentage in interface CfnMember.ApprovalThresholdPolicyProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object