Class CfnMonitoringSchedule.EndpointInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnMonitoringSchedule.EndpointInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitoringSchedule.EndpointInputProperty>
- Enclosing interface:
CfnMonitoringSchedule.EndpointInputProperty
@Stability(Stable)
public static final class CfnMonitoringSchedule.EndpointInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitoringSchedule.EndpointInputProperty>
A builder for
CfnMonitoringSchedule.EndpointInputProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.endpointName
(String endpointName) Sets the value ofCfnMonitoringSchedule.EndpointInputProperty.getEndpointName()
Sets the value ofCfnMonitoringSchedule.EndpointInputProperty.getLocalPath()
s3DataDistributionType
(String s3DataDistributionType) Sets the value ofCfnMonitoringSchedule.EndpointInputProperty.getS3DataDistributionType()
s3InputMode
(String s3InputMode) Sets the value ofCfnMonitoringSchedule.EndpointInputProperty.getS3InputMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpointName
@Stability(Stable) public CfnMonitoringSchedule.EndpointInputProperty.Builder endpointName(String endpointName) Sets the value ofCfnMonitoringSchedule.EndpointInputProperty.getEndpointName()
- Parameters:
endpointName
- An endpoint in customer's account which has enabledDataCaptureConfig
enabled. This parameter is required.- Returns:
this
-
localPath
@Stability(Stable) public CfnMonitoringSchedule.EndpointInputProperty.Builder localPath(String localPath) Sets the value ofCfnMonitoringSchedule.EndpointInputProperty.getLocalPath()
- Parameters:
localPath
- Path to the filesystem where the endpoint data is available to the container. This parameter is required.- Returns:
this
-
s3DataDistributionType
@Stability(Stable) public CfnMonitoringSchedule.EndpointInputProperty.Builder s3DataDistributionType(String s3DataDistributionType) Sets the value ofCfnMonitoringSchedule.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 CfnMonitoringSchedule.EndpointInputProperty.Builder s3InputMode(String s3InputMode) Sets the value ofCfnMonitoringSchedule.EndpointInputProperty.getS3InputMode()
- Parameters:
s3InputMode
- Whether thePipe
orFile
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 toFile
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMonitoringSchedule.EndpointInputProperty>
- Returns:
- a new instance of
CfnMonitoringSchedule.EndpointInputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-