Interface ImageConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ImageConfig.Builder,ImageConfig>, SdkBuilder<ImageConfig.Builder,ImageConfig>, SdkPojo
Enclosing class:
ImageConfig

public static interface ImageConfig.Builder extends SdkPojo, CopyableBuilder<ImageConfig.Builder,ImageConfig>
  • Method Details

    • repositoryAccessMode

      ImageConfig.Builder repositoryAccessMode(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

      ImageConfig.Builder repositoryAccessMode(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:
    • repositoryAuthConfig

      ImageConfig.Builder repositoryAuthConfig(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.
    • repositoryAuthConfig

      default ImageConfig.Builder repositoryAuthConfig(Consumer<RepositoryAuthConfig.Builder> 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.

      This is a convenience method that creates an instance of the RepositoryAuthConfig.Builder avoiding the need to create one manually via RepositoryAuthConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to repositoryAuthConfig(RepositoryAuthConfig).

      Parameters:
      repositoryAuthConfig - a consumer that will call methods on RepositoryAuthConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: