Class CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty>
- Enclosing interface:
CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty
@Stability(Stable)
public static final class CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataCapturedDestinationS3Uri(String dataCapturedDestinationS3Uri) datasetFormat(IResolvable datasetFormat) featuresAttribute(String featuresAttribute) inferenceAttribute(String inferenceAttribute) probabilityAttribute(String probabilityAttribute) s3DataDistributionType(String s3DataDistributionType) s3InputMode(String s3InputMode)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataCapturedDestinationS3Uri
@Stability(Stable) public CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.Builder dataCapturedDestinationS3Uri(String dataCapturedDestinationS3Uri) Sets the value ofCfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.getDataCapturedDestinationS3Uri()- Parameters:
dataCapturedDestinationS3Uri- The Amazon S3 location being used to capture the data.- Returns:
this
-
datasetFormat
@Stability(Stable) public CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.Builder datasetFormat(IResolvable datasetFormat) Sets the value ofCfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.getDatasetFormat()- Parameters:
datasetFormat- The dataset format for your batch transform job.- Returns:
this
-
datasetFormat
@Stability(Stable) public CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.Builder datasetFormat(CfnModelExplainabilityJobDefinitionPropsMixin.DatasetFormatProperty datasetFormat) Sets the value ofCfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.getDatasetFormat()- Parameters:
datasetFormat- The dataset format for your batch transform job.- Returns:
this
-
featuresAttribute
@Stability(Stable) public CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.Builder featuresAttribute(String featuresAttribute) Sets the value ofCfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.getFeaturesAttribute()- Parameters:
featuresAttribute- The attributes of the input data that are the input features.- Returns:
this
-
inferenceAttribute
@Stability(Stable) public CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.Builder inferenceAttribute(String inferenceAttribute) Sets the value ofCfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.getInferenceAttribute()- Parameters:
inferenceAttribute- The attribute of the input data that represents the ground truth label.- Returns:
this
-
localPath
@Stability(Stable) public CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.Builder localPath(String localPath) Sets the value ofCfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.getLocalPath()- Parameters:
localPath- Path to the filesystem where the batch transform data is available to the container.- Returns:
this
-
probabilityAttribute
@Stability(Stable) public CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.Builder probabilityAttribute(String probabilityAttribute) Sets the value ofCfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.getProbabilityAttribute()- Parameters:
probabilityAttribute- In a classification problem, the attribute that represents the class probability.- Returns:
this
-
s3DataDistributionType
@Stability(Stable) public CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.Builder s3DataDistributionType(String s3DataDistributionType) Sets the value ofCfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.getS3DataDistributionType()- Parameters:
s3DataDistributionType- Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defaults toFullyReplicated- Returns:
this
-
s3InputMode
@Stability(Stable) public CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.Builder s3InputMode(String s3InputMode) Sets the value ofCfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty.getS3InputMode()- Parameters:
s3InputMode- Whether thePipeorFileis used as the input mode for transferring data for the monitoring job.Pipemode is recommended for large datasets.Filemode is useful for small files that fit in memory. Defaults toFile.- Returns:
this
-
build
@Stability(Stable) public CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty>- Returns:
- a new instance of
CfnModelExplainabilityJobDefinitionPropsMixin.BatchTransformInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-