JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.sagemaker.model

Class ImageConfig

    • Constructor Detail

      • ImageConfig

        public ImageConfig()
    • Method Detail

      • setRepositoryAccessMode

        public void setRepositoryAccessMode(String repositoryAccessMode)

        Set this to one of the following values:

        • Platform - The model image is hosted in Amazon ECR.

        • Vpc - The model image is hosted in a private Docker registry in your VPC.

        Parameters:
        repositoryAccessMode - Set this to one of the following values:

        • Platform - The model image is hosted in Amazon ECR.

        • Vpc - The model image is hosted in a private Docker registry in your VPC.

        See Also:
        RepositoryAccessMode
      • getRepositoryAccessMode

        public String getRepositoryAccessMode()

        Set this to one of the following values:

        • Platform - The model image is hosted in Amazon ECR.

        • Vpc - The model image is hosted in a private Docker registry in your VPC.

        Returns:
        Set this to one of the following values:

        • Platform - The model image is hosted in Amazon ECR.

        • Vpc - The model image is hosted in a private Docker registry in your VPC.

        See Also:
        RepositoryAccessMode
      • withRepositoryAccessMode

        public ImageConfig withRepositoryAccessMode(String repositoryAccessMode)

        Set this to one of the following values:

        • Platform - The model image is hosted in Amazon ECR.

        • Vpc - The model image is hosted in a private Docker registry in your VPC.

        Parameters:
        repositoryAccessMode - Set this to one of the following values:

        • Platform - The model image is hosted in Amazon ECR.

        • Vpc - The model image is hosted in a private Docker registry in your VPC.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RepositoryAccessMode
      • withRepositoryAccessMode

        public ImageConfig withRepositoryAccessMode(RepositoryAccessMode repositoryAccessMode)

        Set this to one of the following values:

        • Platform - The model image is hosted in Amazon ECR.

        • Vpc - The model image is hosted in a private Docker registry in your VPC.

        Parameters:
        repositoryAccessMode - Set this to one of the following values:

        • Platform - The model image is hosted in Amazon ECR.

        • Vpc - The model image is hosted in a private Docker registry in your VPC.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RepositoryAccessMode
      • setRepositoryAuthConfig

        public void setRepositoryAuthConfig(RepositoryAuthConfig repositoryAuthConfig)

        (Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted. Specify a value for this property only if you specified Vpc as the value for the RepositoryAccessMode field, and the private Docker registry where the model image is hosted requires authentication.

        Parameters:
        repositoryAuthConfig - (Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted. Specify a value for this property only if you specified Vpc as the value for the RepositoryAccessMode field, and the private Docker registry where the model image is hosted requires authentication.
      • getRepositoryAuthConfig

        public RepositoryAuthConfig getRepositoryAuthConfig()

        (Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted. Specify a value for this property only if you specified Vpc as the value for the RepositoryAccessMode field, and the private Docker registry where the model image is hosted requires authentication.

        Returns:
        (Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted. Specify a value for this property only if you specified Vpc as the value for the RepositoryAccessMode field, and the private Docker registry where the model image is hosted requires authentication.
      • withRepositoryAuthConfig

        public ImageConfig withRepositoryAuthConfig(RepositoryAuthConfig repositoryAuthConfig)

        (Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted. Specify a value for this property only if you specified Vpc as the value for the RepositoryAccessMode field, and the private Docker registry where the model image is hosted requires authentication.

        Parameters:
        repositoryAuthConfig - (Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted. Specify a value for this property only if you specified Vpc as the value for the RepositoryAccessMode field, and the private Docker registry where the model image is hosted requires authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /