Class Docker.Jsii$Proxy

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

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

      • getImage

        public final String getImage()
        Description copied from interface: Docker
        (experimental) The name of a custom docker image to use.
        Specified by:
        getImage in interface Docker
      • getAuth

        public final Map<String,​String> getAuth()
        Description copied from interface: Docker
        (experimental) Authentication for registries using standard docker login credentials.
        Specified by:
        getAuth in interface Docker
      • getAwsAuth

        public final Map<String,​String> getAwsAuth()
        Description copied from interface: Docker
        (experimental) Authentication for AWS Elastic Container Registry (ECR).
        Specified by:
        getAwsAuth in interface Docker
      • getCommand

        public final List<String> getCommand()
        Description copied from interface: Docker
        (experimental) The command used as pid 1 (or args for entrypoint) when launching the container.
        Specified by:
        getCommand in interface Docker
      • getEntrypoint

        public final List<String> getEntrypoint()
        Description copied from interface: Docker
        (experimental) The command used as executable when launching the container.
        Specified by:
        getEntrypoint in interface Docker
      • getEnvironment

        public final Map<String,​Object> getEnvironment()
        Description copied from interface: Docker
        (experimental) A map of environment variable names and values.
        Specified by:
        getEnvironment in interface Docker
      • getName

        public final String getName()
        Description copied from interface: Docker
        (experimental) The name the container is reachable by.

        By default, container services are accessible through localhost

        Specified by:
        getName in interface Docker
      • getUser

        public final String getUser()
        Description copied from interface: Docker
        (experimental) Which user to run commands as within the Docker container.
        Specified by:
        getUser in interface Docker
      • $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