Class CfnInferenceSchedulerProps.Builder
java.lang.Object
software.amazon.awscdk.services.lookoutequipment.CfnInferenceSchedulerProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceSchedulerProps>
- Enclosing interface:
CfnInferenceSchedulerProps
@Stability(Stable)
public static final class CfnInferenceSchedulerProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceSchedulerProps>
A builder for
CfnInferenceSchedulerProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dataDelayOffsetInMinutes
(Number dataDelayOffsetInMinutes) Sets the value ofCfnInferenceSchedulerProps.getDataDelayOffsetInMinutes()
dataInputConfiguration
(Object dataInputConfiguration) Sets the value ofCfnInferenceSchedulerProps.getDataInputConfiguration()
dataOutputConfiguration
(Object dataOutputConfiguration) Sets the value ofCfnInferenceSchedulerProps.getDataOutputConfiguration()
dataUploadFrequency
(String dataUploadFrequency) Sets the value ofCfnInferenceSchedulerProps.getDataUploadFrequency()
inferenceSchedulerName
(String inferenceSchedulerName) Sets the value ofCfnInferenceSchedulerProps.getInferenceSchedulerName()
Sets the value ofCfnInferenceSchedulerProps.getModelName()
Sets the value ofCfnInferenceSchedulerProps.getRoleArn()
serverSideKmsKeyId
(String serverSideKmsKeyId) Sets the value ofCfnInferenceSchedulerProps.getServerSideKmsKeyId()
Sets the value ofCfnInferenceSchedulerProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataInputConfiguration
@Stability(Stable) public CfnInferenceSchedulerProps.Builder dataInputConfiguration(Object dataInputConfiguration) Sets the value ofCfnInferenceSchedulerProps.getDataInputConfiguration()
- Parameters:
dataInputConfiguration
- Specifies configuration information for the input data for the inference scheduler, including delimiter, format, and dataset location. This parameter is required.- Returns:
this
-
dataOutputConfiguration
@Stability(Stable) public CfnInferenceSchedulerProps.Builder dataOutputConfiguration(Object dataOutputConfiguration) Sets the value ofCfnInferenceSchedulerProps.getDataOutputConfiguration()
- Parameters:
dataOutputConfiguration
- Specifies configuration information for the output results for the inference scheduler, including the Amazon S3 location for the output. This parameter is required.- Returns:
this
-
dataUploadFrequency
@Stability(Stable) public CfnInferenceSchedulerProps.Builder dataUploadFrequency(String dataUploadFrequency) Sets the value ofCfnInferenceSchedulerProps.getDataUploadFrequency()
- Parameters:
dataUploadFrequency
- How often data is uploaded to the source S3 bucket for the input data. This parameter is required. This value is the length of time between data uploads. For instance, if you select 5 minutes, Amazon Lookout for Equipment will upload the real-time data to the source bucket once every 5 minutes. This frequency also determines how often Amazon Lookout for Equipment starts a scheduled inference on your data. In this example, it starts once every 5 minutes.- Returns:
this
-
modelName
Sets the value ofCfnInferenceSchedulerProps.getModelName()
- Parameters:
modelName
- The name of the machine learning model used for the inference scheduler. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnInferenceSchedulerProps.getRoleArn()
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of a role with permission to access the data source being used for the inference. This parameter is required.- Returns:
this
-
dataDelayOffsetInMinutes
@Stability(Stable) public CfnInferenceSchedulerProps.Builder dataDelayOffsetInMinutes(Number dataDelayOffsetInMinutes) Sets the value ofCfnInferenceSchedulerProps.getDataDelayOffsetInMinutes()
- Parameters:
dataDelayOffsetInMinutes
- A period of time (in minutes) by which inference on the data is delayed after the data starts. For instance, if an offset delay time of five minutes was selected, inference will not begin on the data until the first data measurement after the five minute mark. For example, if five minutes is selected, the inference scheduler will wake up at the configured frequency with the additional five minute delay time to check the customer S3 bucket. The customer can upload data at the same frequency and they don't need to stop and restart the scheduler when uploading new data.- Returns:
this
-
inferenceSchedulerName
@Stability(Stable) public CfnInferenceSchedulerProps.Builder inferenceSchedulerName(String inferenceSchedulerName) Sets the value ofCfnInferenceSchedulerProps.getInferenceSchedulerName()
- Parameters:
inferenceSchedulerName
- The name of the inference scheduler.- Returns:
this
-
serverSideKmsKeyId
@Stability(Stable) public CfnInferenceSchedulerProps.Builder serverSideKmsKeyId(String serverSideKmsKeyId) Sets the value ofCfnInferenceSchedulerProps.getServerSideKmsKeyId()
- Parameters:
serverSideKmsKeyId
- Provides the identifier of the AWS KMS key used to encrypt inference scheduler data by Amazon Lookout for Equipment .- Returns:
this
-
tags
Sets the value ofCfnInferenceSchedulerProps.getTags()
- Parameters:
tags
- Any tags associated with the inference scheduler. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInferenceSchedulerProps>
- Returns:
- a new instance of
CfnInferenceSchedulerProps
- Throws:
NullPointerException
- if any required attribute was not provided
-