Class CfnModel.RepositoryAuthConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModel.RepositoryAuthConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModel.RepositoryAuthConfigProperty>
- Enclosing interface:
CfnModel.RepositoryAuthConfigProperty
@Stability(Stable)
public static final class CfnModel.RepositoryAuthConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModel.RepositoryAuthConfigProperty>
A builder for
CfnModel.RepositoryAuthConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.repositoryCredentialsProviderArn
(String repositoryCredentialsProviderArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
repositoryCredentialsProviderArn
@Stability(Stable) public CfnModel.RepositoryAuthConfigProperty.Builder repositoryCredentialsProviderArn(String repositoryCredentialsProviderArn) - Parameters:
repositoryCredentialsProviderArn
- The Amazon Resource Name (ARN) of an AWS Lambda function that provides credentials to authenticate to the private Docker registry where your model image is hosted. This parameter is required. For information about how to create an AWS Lambda function, see Create a Lambda function with the console in the AWS Lambda Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModel.RepositoryAuthConfigProperty>
- Returns:
- a new instance of
CfnModel.RepositoryAuthConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-