@Stability(value=Stable) public static final class CfnModel.ImageConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnModel.ImageConfigProperty>
CfnModel.ImageConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnModel.ImageConfigProperty |
build()
Builds the configured instance.
|
CfnModel.ImageConfigProperty.Builder |
repositoryAccessMode(String repositoryAccessMode)
Sets the value of
CfnModel.ImageConfigProperty.getRepositoryAccessMode() |
CfnModel.ImageConfigProperty.Builder |
repositoryAuthConfig(CfnModel.RepositoryAuthConfigProperty repositoryAuthConfig)
Sets the value of
CfnModel.ImageConfigProperty.getRepositoryAuthConfig() |
CfnModel.ImageConfigProperty.Builder |
repositoryAuthConfig(IResolvable repositoryAuthConfig)
Sets the value of
CfnModel.ImageConfigProperty.getRepositoryAuthConfig() |
@Stability(value=Stable) public CfnModel.ImageConfigProperty.Builder repositoryAccessMode(String repositoryAccessMode)
CfnModel.ImageConfigProperty.getRepositoryAccessMode()repositoryAccessMode - Set this to one of the following values:. This parameter is required.
Platform - The model image is hosted in Amazon ECR.Vpc - The model image is hosted in a private Docker registry in your VPC.this@Stability(value=Stable) public CfnModel.ImageConfigProperty.Builder repositoryAuthConfig(CfnModel.RepositoryAuthConfigProperty repositoryAuthConfig)
CfnModel.ImageConfigProperty.getRepositoryAuthConfig()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@Stability(value=Stable) public CfnModel.ImageConfigProperty.Builder repositoryAuthConfig(IResolvable repositoryAuthConfig)
CfnModel.ImageConfigProperty.getRepositoryAuthConfig()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@Stability(value=Stable) public CfnModel.ImageConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnModel.ImageConfigProperty>CfnModel.ImageConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.