public static interface ImageConfig.Builder extends SdkPojo, CopyableBuilder<ImageConfig.Builder,ImageConfig>
| Modifier and Type | Method and Description |
|---|---|
ImageConfig.Builder |
repositoryAccessMode(RepositoryAccessMode repositoryAccessMode)
Set this to one of the following values:
|
ImageConfig.Builder |
repositoryAccessMode(String repositoryAccessMode)
Set this to one of the following values:
|
default ImageConfig.Builder |
repositoryAuthConfig(Consumer<RepositoryAuthConfig.Builder> repositoryAuthConfig)
(Optional) Specifies an authentication configuration for the private docker registry where your model image
is hosted.
|
ImageConfig.Builder |
repositoryAuthConfig(RepositoryAuthConfig repositoryAuthConfig)
(Optional) Specifies an authentication configuration for the private docker registry where your model image
is hosted.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildImageConfig.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.
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.
RepositoryAccessMode,
RepositoryAccessModeImageConfig.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.
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.
RepositoryAccessMode,
RepositoryAccessModeImageConfig.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.
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.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.
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).
repositoryAuthConfig - a consumer that will call methods on RepositoryAuthConfig.BuilderrepositoryAuthConfig(RepositoryAuthConfig)Copyright © 2023. All rights reserved.