Class CfnModelCardExportJobProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelCardExportJobProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelCardExportJobProps>
- Enclosing interface:
CfnModelCardExportJobProps
@Stability(Stable)
public static final class CfnModelCardExportJobProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelCardExportJobProps>
A builder for
CfnModelCardExportJobProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.modelCardExportJobName(String modelCardExportJobName) Sets the value ofCfnModelCardExportJobProps.getModelCardExportJobName()modelCardName(String modelCardName) Sets the value ofCfnModelCardExportJobProps.getModelCardName()modelCardVersion(Number modelCardVersion) Sets the value ofCfnModelCardExportJobProps.getModelCardVersion()outputConfig(IResolvable outputConfig) Sets the value ofCfnModelCardExportJobProps.getOutputConfig()Sets the value ofCfnModelCardExportJobProps.getOutputConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
modelCardExportJobName
@Stability(Stable) public CfnModelCardExportJobProps.Builder modelCardExportJobName(String modelCardExportJobName) Sets the value ofCfnModelCardExportJobProps.getModelCardExportJobName()- Parameters:
modelCardExportJobName- The name of the model card export job. This parameter is required.- Returns:
this
-
modelCardName
Sets the value ofCfnModelCardExportJobProps.getModelCardName()- Parameters:
modelCardName- The name or Amazon Resource Name (ARN) of the model card to export. This parameter is required.- Returns:
this
-
outputConfig
Sets the value ofCfnModelCardExportJobProps.getOutputConfig()- Parameters:
outputConfig- Configure the export output details for an Amazon SageMaker Model Card. This parameter is required.- Returns:
this
-
outputConfig
@Stability(Stable) public CfnModelCardExportJobProps.Builder outputConfig(CfnModelCardExportJob.ModelCardExportOutputConfigProperty outputConfig) Sets the value ofCfnModelCardExportJobProps.getOutputConfig()- Parameters:
outputConfig- Configure the export output details for an Amazon SageMaker Model Card. This parameter is required.- Returns:
this
-
modelCardVersion
@Stability(Stable) public CfnModelCardExportJobProps.Builder modelCardVersion(Number modelCardVersion) Sets the value ofCfnModelCardExportJobProps.getModelCardVersion()- Parameters:
modelCardVersion- The version of the model card to export. If a version is not provided, then the latest version of the model card is exported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelCardExportJobProps>- Returns:
- a new instance of
CfnModelCardExportJobProps - Throws:
NullPointerException- if any required attribute was not provided
-