Class CfnModelQualityJobDefinition.EndpointInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelQualityJobDefinition.EndpointInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelQualityJobDefinition.EndpointInputProperty>
- Enclosing interface:
- CfnModelQualityJobDefinition.EndpointInputProperty
@Stability(Stable)
public static final class CfnModelQualityJobDefinition.EndpointInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelQualityJobDefinition.EndpointInputProperty>
A builder for
CfnModelQualityJobDefinition.EndpointInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.endpointName(String endpointName) Sets the value ofCfnModelQualityJobDefinition.EndpointInputProperty.getEndpointName()endTimeOffset(String endTimeOffset) Sets the value ofCfnModelQualityJobDefinition.EndpointInputProperty.getEndTimeOffset()inferenceAttribute(String inferenceAttribute) Sets the value ofCfnModelQualityJobDefinition.EndpointInputProperty.getLocalPath()probabilityAttribute(String probabilityAttribute) probabilityThresholdAttribute(Number probabilityThresholdAttribute) s3DataDistributionType(String s3DataDistributionType) s3InputMode(String s3InputMode) Sets the value ofCfnModelQualityJobDefinition.EndpointInputProperty.getS3InputMode()startTimeOffset(String startTimeOffset) Sets the value ofCfnModelQualityJobDefinition.EndpointInputProperty.getStartTimeOffset()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpointName
@Stability(Stable) public CfnModelQualityJobDefinition.EndpointInputProperty.Builder endpointName(String endpointName) Sets the value ofCfnModelQualityJobDefinition.EndpointInputProperty.getEndpointName()- Parameters:
endpointName- An endpoint in customer's account which has enabledDataCaptureConfigenabled. This parameter is required.- Returns:
this
-
localPath
@Stability(Stable) public CfnModelQualityJobDefinition.EndpointInputProperty.Builder localPath(String localPath) Sets the value ofCfnModelQualityJobDefinition.EndpointInputProperty.getLocalPath()- Parameters:
localPath- Path to the filesystem where the endpoint data is available to the container. This parameter is required.- Returns:
this
-
endTimeOffset
@Stability(Stable) public CfnModelQualityJobDefinition.EndpointInputProperty.Builder endTimeOffset(String endTimeOffset) Sets the value ofCfnModelQualityJobDefinition.EndpointInputProperty.getEndTimeOffset()- Parameters:
endTimeOffset- If specified, monitoring jobs substract this time from the end time. For information about using offsets for scheduling monitoring jobs, see Schedule Model Quality Monitoring Jobs .- Returns:
this
-
inferenceAttribute
@Stability(Stable) public CfnModelQualityJobDefinition.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 CfnModelQualityJobDefinition.EndpointInputProperty.Builder probabilityAttribute(String probabilityAttribute) - Parameters:
probabilityAttribute- In a classification problem, the attribute that represents the class probability.- Returns:
this
-
probabilityThresholdAttribute
@Stability(Stable) public CfnModelQualityJobDefinition.EndpointInputProperty.Builder probabilityThresholdAttribute(Number probabilityThresholdAttribute) Sets the value ofCfnModelQualityJobDefinition.EndpointInputProperty.getProbabilityThresholdAttribute()- Parameters:
probabilityThresholdAttribute- The threshold for the class probability to be evaluated as a positive result.- Returns:
this
-
s3DataDistributionType
@Stability(Stable) public CfnModelQualityJobDefinition.EndpointInputProperty.Builder s3DataDistributionType(String s3DataDistributionType) - 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 CfnModelQualityJobDefinition.EndpointInputProperty.Builder s3InputMode(String s3InputMode) Sets the value ofCfnModelQualityJobDefinition.EndpointInputProperty.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
-
startTimeOffset
@Stability(Stable) public CfnModelQualityJobDefinition.EndpointInputProperty.Builder startTimeOffset(String startTimeOffset) Sets the value ofCfnModelQualityJobDefinition.EndpointInputProperty.getStartTimeOffset()- Parameters:
startTimeOffset- If specified, monitoring jobs substract this time from the start time. For information about using offsets for scheduling monitoring jobs, see Schedule Model Quality Monitoring Jobs .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelQualityJobDefinition.EndpointInputProperty>- Returns:
- a new instance of
CfnModelQualityJobDefinition.EndpointInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-