Class CfnTargetGroup.TargetProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.vpclattice.CfnTargetGroup.TargetProperty.Jsii$Proxy
All Implemented Interfaces:
CfnTargetGroup.TargetProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnTargetGroup.TargetProperty

@Stability(Stable) @Internal public static final class CfnTargetGroup.TargetProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnTargetGroup.TargetProperty
An implementation for CfnTargetGroup.TargetProperty
  • 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(CfnTargetGroup.TargetProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnTargetGroup.TargetProperty.Builder.
  • Method Details

    • getId

      public final String getId()
      Description copied from interface: CfnTargetGroup.TargetProperty
      The ID of the target.

      If the target type of the target group is INSTANCE , this is an instance ID. If the target type is IP , this is an IP address. If the target type is LAMBDA , this is the ARN of the Lambda function. If the target type is ALB , this is the ARN of the Application Load Balancer.

      Specified by:
      getId in interface CfnTargetGroup.TargetProperty
    • getPort

      public final Number getPort()
      Description copied from interface: CfnTargetGroup.TargetProperty
      The port on which the target is listening.

      For HTTP, the default is 80 . For HTTPS, the default is 443 .

      Specified by:
      getPort in interface CfnTargetGroup.TargetProperty
    • $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