Class CfnLaunch.SegmentOverrideProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.evidently.CfnLaunch.SegmentOverrideProperty.Jsii$Proxy
All Implemented Interfaces:
CfnLaunch.SegmentOverrideProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnLaunch.SegmentOverrideProperty

@Stability(Stable) @Internal public static final class CfnLaunch.SegmentOverrideProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLaunch.SegmentOverrideProperty
An implementation for CfnLaunch.SegmentOverrideProperty
  • 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

      protected Jsii$Proxy(CfnLaunch.SegmentOverrideProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnLaunch.SegmentOverrideProperty.Builder.
  • Method Details

    • getEvaluationOrder

      public final Number getEvaluationOrder()
      Description copied from interface: CfnLaunch.SegmentOverrideProperty
      A number indicating the order to use to evaluate segment overrides, if there are more than one.

      Segment overrides with lower numbers are evaluated first.

      Specified by:
      getEvaluationOrder in interface CfnLaunch.SegmentOverrideProperty
    • getSegment

      public final String getSegment()
      Description copied from interface: CfnLaunch.SegmentOverrideProperty
      The ARN of the segment to use for this override.
      Specified by:
      getSegment in interface CfnLaunch.SegmentOverrideProperty
    • getWeights

      public final Object getWeights()
      Description copied from interface: CfnLaunch.SegmentOverrideProperty
      The traffic allocation percentages among the feature variations to assign to this segment.

      This is a set of key-value pairs. The keys are variation names. The values represent the amount of traffic to allocate to that variation for this segment. This is expressed in thousandths of a percent, so a weight of 50000 represents 50% of traffic.

      Specified by:
      getWeights in interface CfnLaunch.SegmentOverrideProperty
    • $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