Interface ImageConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImageConfig.Builder,,ImageConfig> SdkBuilder<ImageConfig.Builder,,ImageConfig> SdkPojo
- Enclosing class:
ImageConfig
-
Method Summary
Modifier and TypeMethodDescriptionrepositoryAccessMode(String repositoryAccessMode) Set this to one of the following values:repositoryAccessMode(RepositoryAccessMode repositoryAccessMode) Set this to one of the following values:default ImageConfig.BuilderrepositoryAuthConfig(Consumer<RepositoryAuthConfig.Builder> repositoryAuthConfig) (Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted.repositoryAuthConfig(RepositoryAuthConfig repositoryAuthConfig) (Optional) Specifies an authentication configuration for the private docker registry where your model image is hosted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
(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
Vpcas the value for theRepositoryAccessModefield, 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 specifiedVpcas the value for theRepositoryAccessModefield, 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
This is a convenience method that creates an instance of theVpcas the value for theRepositoryAccessModefield, and the private Docker registry where the model image is hosted requires authentication.RepositoryAuthConfig.Builderavoiding the need to create one manually viaRepositoryAuthConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torepositoryAuthConfig(RepositoryAuthConfig).- Parameters:
repositoryAuthConfig- a consumer that will call methods onRepositoryAuthConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-