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, sdkFields
copy
applyMutation, build
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.
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
,
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.
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
,
RepositoryAccessMode
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.
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.Builder
repositoryAuthConfig(RepositoryAuthConfig)
Copyright © 2022. All rights reserved.