Class CfnModelExplainabilityJobDefinition.EndpointInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelExplainabilityJobDefinition.EndpointInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelExplainabilityJobDefinition.EndpointInputProperty>
- Enclosing interface:
- CfnModelExplainabilityJobDefinition.EndpointInputProperty
@Stability(Stable)
public static final class CfnModelExplainabilityJobDefinition.EndpointInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelExplainabilityJobDefinition.EndpointInputProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.endpointName(String endpointName) featuresAttribute(String featuresAttribute) inferenceAttribute(String inferenceAttribute) Sets the value ofCfnModelExplainabilityJobDefinition.EndpointInputProperty.getLocalPath()probabilityAttribute(String probabilityAttribute) s3DataDistributionType(String s3DataDistributionType) s3InputMode(String s3InputMode)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpointName
@Stability(Stable) public CfnModelExplainabilityJobDefinition.EndpointInputProperty.Builder endpointName(String endpointName) - Parameters:
endpointName- An endpoint in customer's account which has enabledDataCaptureConfigenabled. This parameter is required.- Returns:
this
-
localPath
@Stability(Stable) public CfnModelExplainabilityJobDefinition.EndpointInputProperty.Builder localPath(String localPath) Sets the value ofCfnModelExplainabilityJobDefinition.EndpointInputProperty.getLocalPath()- Parameters:
localPath- Path to the filesystem where the endpoint data is available to the container. This parameter is required.- Returns:
this
-
featuresAttribute
@Stability(Stable) public CfnModelExplainabilityJobDefinition.EndpointInputProperty.Builder featuresAttribute(String featuresAttribute) - Parameters:
featuresAttribute- The attributes of the input data that are the input features.- Returns:
this
-
inferenceAttribute
@Stability(Stable) public CfnModelExplainabilityJobDefinition.EndpointInputProperty.Builder inferenceAttribute(String inferenceAttribute) - Parameters:
inferenceAttribute- The attribute of the input data that represents the ground truth label.- Returns:
this
-
probabilityAttribute
@Stability(Stable) public CfnModelExplainabilityJobDefinition.EndpointInputProperty.Builder probabilityAttribute(String probabilityAttribute) Sets the value ofCfnModelExplainabilityJobDefinition.EndpointInputProperty.getProbabilityAttribute()- Parameters:
probabilityAttribute- In a classification problem, the attribute that represents the class probability.- Returns:
this
-
s3DataDistributionType
@Stability(Stable) public CfnModelExplainabilityJobDefinition.EndpointInputProperty.Builder s3DataDistributionType(String s3DataDistributionType) Sets the value ofCfnModelExplainabilityJobDefinition.EndpointInputProperty.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 CfnModelExplainabilityJobDefinition.EndpointInputProperty.Builder s3InputMode(String s3InputMode) - 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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelExplainabilityJobDefinition.EndpointInputProperty>- Returns:
- a new instance of
CfnModelExplainabilityJobDefinition.EndpointInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-