Class Service.Jsii$Proxy

  • All Implemented Interfaces:
    Service, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    Service

    @Stability(Experimental)
    @Internal
    public static final class Service.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements Service
    An implementation for Service
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(Service.Builder builder)
      Constructor that initializes the object based on literal property values passed by the Service.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • Constructor Detail

      • 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​(Service.Builder builder)
        Constructor that initializes the object based on literal property values passed by the Service.Builder.
    • Method Detail

      • getName

        public final String getName()
        Description copied from interface: Service
        (experimental) Full name of the image that should be used.

        It should contain the Registry part if needed.

        Specified by:
        getName in interface Service
      • getAlias

        public final String getAlias()
        Description copied from interface: Service
        (experimental) Additional alias that can be used to access the service from the job's container.

        Read Accessing the services for more information.

        Specified by:
        getAlias in interface Service
      • getCommand

        public final List<String> getCommand()
        Description copied from interface: Service
        (experimental) Command or script that should be used as the container's command.

        It will be translated to arguments passed to Docker after the image's name. The syntax is similar to Dockerfile's CMD directive, where each shell token is a separate string in the array.

        Specified by:
        getCommand in interface Service
      • getEntrypoint

        public final List<String> getEntrypoint()
        Description copied from interface: Service
        (experimental) Command or script that should be executed as the container's entrypoint.

        It will be translated to Docker's --entrypoint option while creating the container. The syntax is similar to Dockerfile's ENTRYPOINT directive, where each shell token is a separate string in the array.

        Specified by:
        getEntrypoint in interface Service
      • getPullPolicy

        public final List<PullPolicy> getPullPolicy()
        Description copied from interface: Service
        (experimental) The pull policy that the runner uses to fetch the Docker image.
        Specified by:
        getPullPolicy in interface Service
      • getVariables

        public final Map<String,​String> getVariables()
        Description copied from interface: Service
        (experimental) Additional environment variables that are passed exclusively to the service..
        Specified by:
        getVariables in interface Service
      • $jsii$toJson

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

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