Class Ec2ServiceAttributes.Jsii$Proxy

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

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

    • getCluster

      public final ICluster getCluster()
      Description copied from interface: Ec2ServiceAttributes
      The cluster that hosts the service.
      Specified by:
      getCluster in interface Ec2ServiceAttributes
    • getServiceArn

      public final String getServiceArn()
      Description copied from interface: Ec2ServiceAttributes
      The service ARN.

      Default: - either this, or

      invalid @link
      serviceName
      , is required
      Specified by:
      getServiceArn in interface Ec2ServiceAttributes
    • getServiceName

      public final String getServiceName()
      Description copied from interface: Ec2ServiceAttributes
      The name of the service.

      Default: - either this, or

      invalid @link
      serviceArn
      , is required
      Specified by:
      getServiceName in interface Ec2ServiceAttributes
    • $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