Class CfnInferenceScheduler.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceScheduler>
- Enclosing class:
CfnInferenceScheduler
CfnInferenceScheduler
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
dataDelayOffsetInMinutes
(Number dataDelayOffsetInMinutes) A period of time (in minutes) by which inference on the data is delayed after the data starts.dataInputConfiguration
(Object dataInputConfiguration) Specifies configuration information for the input data for the inference scheduler, including delimiter, format, and dataset location.dataOutputConfiguration
(Object dataOutputConfiguration) Specifies configuration information for the output results for the inference scheduler, including the Amazon S3 location for the output.dataUploadFrequency
(String dataUploadFrequency) How often data is uploaded to the source S3 bucket for the input data.inferenceSchedulerName
(String inferenceSchedulerName) The name of the inference scheduler.The name of the ML model used for the inference scheduler.The Amazon Resource Name (ARN) of a role with permission to access the data source being used for the inference.serverSideKmsKeyId
(String serverSideKmsKeyId) Provides the identifier of the AWS KMS key used to encrypt inference scheduler data by Amazon Lookout for Equipment .Any tags associated with the inference scheduler.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnInferenceScheduler.Builder
.
-
dataInputConfiguration
@Stability(Stable) public CfnInferenceScheduler.Builder dataInputConfiguration(Object dataInputConfiguration) Specifies configuration information for the input data for the inference scheduler, including delimiter, format, and dataset location.- 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 CfnInferenceScheduler.Builder dataOutputConfiguration(Object dataOutputConfiguration) Specifies configuration information for the output results for the inference scheduler, including the Amazon S3 location for the output.- 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 CfnInferenceScheduler.Builder dataUploadFrequency(String dataUploadFrequency) How often data is uploaded to the source S3 bucket for the input data.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.
- Parameters:
dataUploadFrequency
- How often data is uploaded to the source S3 bucket for the input data. This parameter is required.- Returns:
this
-
modelName
The name of the ML model used for the inference scheduler.- Parameters:
modelName
- The name of the ML model used for the inference scheduler. This parameter is required.- Returns:
this
-
roleArn
The Amazon Resource Name (ARN) of a role with permission to access the data source being used for the inference.- 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 CfnInferenceScheduler.Builder dataDelayOffsetInMinutes(Number 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.
- Parameters:
dataDelayOffsetInMinutes
- A period of time (in minutes) by which inference on the data is delayed after the data starts. This parameter is required.- Returns:
this
-
inferenceSchedulerName
@Stability(Stable) public CfnInferenceScheduler.Builder inferenceSchedulerName(String inferenceSchedulerName) The name of the inference scheduler.- Parameters:
inferenceSchedulerName
- The name of the inference scheduler. This parameter is required.- Returns:
this
-
serverSideKmsKeyId
@Stability(Stable) public CfnInferenceScheduler.Builder serverSideKmsKeyId(String serverSideKmsKeyId) Provides the identifier of the AWS KMS key used to encrypt inference scheduler data by Amazon Lookout for Equipment .- Parameters:
serverSideKmsKeyId
- Provides the identifier of the AWS KMS key used to encrypt inference scheduler data by Amazon Lookout for Equipment . This parameter is required.- Returns:
this
-
tags
Any tags associated with the inference scheduler.For more information, see Tag .
- Parameters:
tags
- Any tags associated with the inference scheduler. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInferenceScheduler>
- Returns:
- a newly built instance of
CfnInferenceScheduler
.
-