Class CfnModelPropsMixin.RepositoryAuthConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelPropsMixin.RepositoryAuthConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelPropsMixin.RepositoryAuthConfigProperty>
- Enclosing interface:
CfnModelPropsMixin.RepositoryAuthConfigProperty
@Stability(Stable)
public static final class CfnModelPropsMixin.RepositoryAuthConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelPropsMixin.RepositoryAuthConfigProperty>
A builder for
CfnModelPropsMixin.RepositoryAuthConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.repositoryCredentialsProviderArn(String repositoryCredentialsProviderArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
repositoryCredentialsProviderArn
@Stability(Stable) public CfnModelPropsMixin.RepositoryAuthConfigProperty.Builder repositoryCredentialsProviderArn(String repositoryCredentialsProviderArn) Sets the value ofCfnModelPropsMixin.RepositoryAuthConfigProperty.getRepositoryCredentialsProviderArn()- 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. 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelPropsMixin.RepositoryAuthConfigProperty>- Returns:
- a new instance of
CfnModelPropsMixin.RepositoryAuthConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-