public static final class CfnModelBiasJobDefinition.EndpointInputProperty.Builder
extends java.lang.Object
CfnModelBiasJobDefinition.EndpointInputProperty
Constructor and Description |
---|
Builder() |
public CfnModelBiasJobDefinition.EndpointInputProperty.Builder endpointName(java.lang.String endpointName)
CfnModelBiasJobDefinition.EndpointInputProperty.getEndpointName()
endpointName
- An endpoint in customer's account which has enabled `DataCaptureConfig` enabled. This parameter is required.this
public CfnModelBiasJobDefinition.EndpointInputProperty.Builder localPath(java.lang.String localPath)
CfnModelBiasJobDefinition.EndpointInputProperty.getLocalPath()
localPath
- Path to the filesystem where the endpoint data is available to the container. This parameter is required.this
public CfnModelBiasJobDefinition.EndpointInputProperty.Builder endTimeOffset(java.lang.String endTimeOffset)
CfnModelBiasJobDefinition.EndpointInputProperty.getEndTimeOffset()
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 .this
public CfnModelBiasJobDefinition.EndpointInputProperty.Builder featuresAttribute(java.lang.String featuresAttribute)
CfnModelBiasJobDefinition.EndpointInputProperty.getFeaturesAttribute()
featuresAttribute
- The attributes of the input data that are the input features.this
public CfnModelBiasJobDefinition.EndpointInputProperty.Builder inferenceAttribute(java.lang.String inferenceAttribute)
CfnModelBiasJobDefinition.EndpointInputProperty.getInferenceAttribute()
inferenceAttribute
- The attribute of the input data that represents the ground truth label.this
public CfnModelBiasJobDefinition.EndpointInputProperty.Builder probabilityAttribute(java.lang.String probabilityAttribute)
probabilityAttribute
- In a classification problem, the attribute that represents the class probability.this
public CfnModelBiasJobDefinition.EndpointInputProperty.Builder probabilityThresholdAttribute(java.lang.Number probabilityThresholdAttribute)
CfnModelBiasJobDefinition.EndpointInputProperty.getProbabilityThresholdAttribute()
probabilityThresholdAttribute
- The threshold for the class probability to be evaluated as a positive result.this
public CfnModelBiasJobDefinition.EndpointInputProperty.Builder s3DataDistributionType(java.lang.String s3DataDistributionType)
s3DataDistributionType
- Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key.
Defaults to FullyReplicated
this
public CfnModelBiasJobDefinition.EndpointInputProperty.Builder s3InputMode(java.lang.String s3InputMode)
CfnModelBiasJobDefinition.EndpointInputProperty.getS3InputMode()
s3InputMode
- Whether the `Pipe` or `File` is used as the input mode for transferring data for the monitoring job.
Pipe
mode is recommended for large datasets. File
mode is useful for small files that fit in memory. Defaults to File
.this
public CfnModelBiasJobDefinition.EndpointInputProperty.Builder startTimeOffset(java.lang.String startTimeOffset)
CfnModelBiasJobDefinition.EndpointInputProperty.getStartTimeOffset()
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 .this
public CfnModelBiasJobDefinition.EndpointInputProperty build()
CfnModelBiasJobDefinition.EndpointInputProperty
java.lang.NullPointerException
- if any required attribute was not provided