Class ContainerServiceDeploymentVersionContainerArgs.Builder

    • Method Detail

      • environment

        public ContainerServiceDeploymentVersionContainerArgs.Builder environment​(@Nullable
                                                                                  com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> environment)
        Parameters:
        environment - A key-value map of the environment variables of the container.
        Returns:
        builder
      • image

        public ContainerServiceDeploymentVersionContainerArgs.Builder image​(com.pulumi.core.Output<java.lang.String> image)
        Parameters:
        image - The name of the image used for the container. Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (`:`). For example, `:container-service-1.mystaticwebsite.1`. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, `nginx:latest` or `nginx`.
        Returns:
        builder
      • image

        public ContainerServiceDeploymentVersionContainerArgs.Builder image​(java.lang.String image)
        Parameters:
        image - The name of the image used for the container. Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (`:`). For example, `:container-service-1.mystaticwebsite.1`. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, `nginx:latest` or `nginx`.
        Returns:
        builder
      • ports

        public ContainerServiceDeploymentVersionContainerArgs.Builder ports​(@Nullable
                                                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> ports)
        Parameters:
        ports - A key-value map of the open firewall ports of the container. Valid values: `HTTP`, `HTTPS`, `TCP`, `UDP`.
        Returns:
        builder
      • ports

        public ContainerServiceDeploymentVersionContainerArgs.Builder ports​(java.util.Map<java.lang.String,​java.lang.String> ports)
        Parameters:
        ports - A key-value map of the open firewall ports of the container. Valid values: `HTTP`, `HTTPS`, `TCP`, `UDP`.
        Returns:
        builder