Interface EksContainerOverride.Builder

    • Method Detail

      • name

        EksContainerOverride.Builder name​(String name)

        A pointer to the container that you want to override. The name must match a unique container name that you wish to override.

        Parameters:
        name - A pointer to the container that you want to override. The name must match a unique container name that you wish to override.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • image

        EksContainerOverride.Builder image​(String image)

        The override of the Docker image that's used to start the container.

        Parameters:
        image - The override of the Docker image that's used to start the container.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • command

        EksContainerOverride.Builder command​(Collection<String> command)

        The command to send to the container that overrides the default command from the Docker image or the job definition.

        Parameters:
        command - The command to send to the container that overrides the default command from the Docker image or the job definition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • command

        EksContainerOverride.Builder command​(String... command)

        The command to send to the container that overrides the default command from the Docker image or the job definition.

        Parameters:
        command - The command to send to the container that overrides the default command from the Docker image or the job definition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • env

        EksContainerOverride.Builder env​(Collection<EksContainerEnvironmentVariable> env)

        The environment variables to send to the container. You can add new environment variables, which are added to the container at launch. Or, you can override the existing environment variables from the Docker image or the job definition.

        Environment variables cannot start with "AWS_BATCH". This naming convention is reserved for variables that Batch sets.

        Parameters:
        env - The environment variables to send to the container. You can add new environment variables, which are added to the container at launch. Or, you can override the existing environment variables from the Docker image or the job definition.

        Environment variables cannot start with "AWS_BATCH". This naming convention is reserved for variables that Batch sets.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • env

        EksContainerOverride.Builder env​(EksContainerEnvironmentVariable... env)

        The environment variables to send to the container. You can add new environment variables, which are added to the container at launch. Or, you can override the existing environment variables from the Docker image or the job definition.

        Environment variables cannot start with "AWS_BATCH". This naming convention is reserved for variables that Batch sets.

        Parameters:
        env - The environment variables to send to the container. You can add new environment variables, which are added to the container at launch. Or, you can override the existing environment variables from the Docker image or the job definition.

        Environment variables cannot start with "AWS_BATCH". This naming convention is reserved for variables that Batch sets.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        EksContainerOverride.Builder resources​(EksContainerResourceRequirements resources)

        The type and amount of resources to assign to a container. These override the settings in the job definition. The supported resources include memory, cpu, and nvidia.com/gpu. For more information, see Resource management for pods and containers in the Kubernetes documentation.

        Parameters:
        resources - The type and amount of resources to assign to a container. These override the settings in the job definition. The supported resources include memory, cpu, and nvidia.com/gpu. For more information, see Resource management for pods and containers in the Kubernetes documentation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.