Interface InferenceComponentContainerSpecification.Builder

    • Method Detail

      • image

        InferenceComponentContainerSpecification.Builder image​(String image)

        The Amazon Elastic Container Registry (Amazon ECR) path where the Docker image for the model is stored.

        Parameters:
        image - The Amazon Elastic Container Registry (Amazon ECR) path where the Docker image for the model is stored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • artifactUrl

        InferenceComponentContainerSpecification.Builder artifactUrl​(String artifactUrl)

        The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

        Parameters:
        artifactUrl - The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • environment

        InferenceComponentContainerSpecification.Builder environment​(Map<String,​String> environment)

        The environment variables to set in the Docker container. Each key and value in the Environment string-to-string map can have length of up to 1024. We support up to 16 entries in the map.

        Parameters:
        environment - The environment variables to set in the Docker container. Each key and value in the Environment string-to-string map can have length of up to 1024. We support up to 16 entries in the map.
        Returns:
        Returns a reference to this object so that method calls can be chained together.