Class CfnInferenceSchedulerMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lookoutequipment.CfnInferenceSchedulerMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceSchedulerMixinProps>
- Enclosing interface:
CfnInferenceSchedulerMixinProps
@Stability(Stable)
public static final class CfnInferenceSchedulerMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceSchedulerMixinProps>
A builder for
CfnInferenceSchedulerMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataDelayOffsetInMinutes(Number dataDelayOffsetInMinutes) Sets the value ofCfnInferenceSchedulerMixinProps.getDataDelayOffsetInMinutes()dataInputConfiguration(Object dataInputConfiguration) Sets the value ofCfnInferenceSchedulerMixinProps.getDataInputConfiguration()dataOutputConfiguration(Object dataOutputConfiguration) Sets the value ofCfnInferenceSchedulerMixinProps.getDataOutputConfiguration()dataUploadFrequency(String dataUploadFrequency) Sets the value ofCfnInferenceSchedulerMixinProps.getDataUploadFrequency()inferenceSchedulerName(String inferenceSchedulerName) Sets the value ofCfnInferenceSchedulerMixinProps.getInferenceSchedulerName()Sets the value ofCfnInferenceSchedulerMixinProps.getModelName()Sets the value ofCfnInferenceSchedulerMixinProps.getRoleArn()serverSideKmsKeyId(String serverSideKmsKeyId) Sets the value ofCfnInferenceSchedulerMixinProps.getServerSideKmsKeyId()Sets the value ofCfnInferenceSchedulerMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataDelayOffsetInMinutes
@Stability(Stable) public CfnInferenceSchedulerMixinProps.Builder dataDelayOffsetInMinutes(Number dataDelayOffsetInMinutes) Sets the value ofCfnInferenceSchedulerMixinProps.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
-
dataInputConfiguration
@Stability(Stable) public CfnInferenceSchedulerMixinProps.Builder dataInputConfiguration(Object dataInputConfiguration) Sets the value ofCfnInferenceSchedulerMixinProps.getDataInputConfiguration()- Parameters:
dataInputConfiguration- Specifies configuration information for the input data for the inference scheduler, including delimiter, format, and dataset location.- Returns:
this
-
dataOutputConfiguration
@Stability(Stable) public CfnInferenceSchedulerMixinProps.Builder dataOutputConfiguration(Object dataOutputConfiguration) Sets the value ofCfnInferenceSchedulerMixinProps.getDataOutputConfiguration()- Parameters:
dataOutputConfiguration- Specifies configuration information for the output results for the inference scheduler, including the Amazon S3 location for the output.- Returns:
this
-
dataUploadFrequency
@Stability(Stable) public CfnInferenceSchedulerMixinProps.Builder dataUploadFrequency(String dataUploadFrequency) Sets the value ofCfnInferenceSchedulerMixinProps.getDataUploadFrequency()- Parameters:
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.- Returns:
this
-
inferenceSchedulerName
@Stability(Stable) public CfnInferenceSchedulerMixinProps.Builder inferenceSchedulerName(String inferenceSchedulerName) Sets the value ofCfnInferenceSchedulerMixinProps.getInferenceSchedulerName()- Parameters:
inferenceSchedulerName- The name of the inference scheduler.- Returns:
this
-
modelName
Sets the value ofCfnInferenceSchedulerMixinProps.getModelName()- Parameters:
modelName- The name of the machine learning model used for the inference scheduler.- Returns:
this
-
roleArn
Sets the value ofCfnInferenceSchedulerMixinProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of a role with permission to access the data source being used for the inference.- Returns:
this
-
serverSideKmsKeyId
@Stability(Stable) public CfnInferenceSchedulerMixinProps.Builder serverSideKmsKeyId(String serverSideKmsKeyId) Sets the value ofCfnInferenceSchedulerMixinProps.getServerSideKmsKeyId()- Parameters:
serverSideKmsKeyId- Provides the identifier of the AWS KMS key used to encrypt inference scheduler data by .- Returns:
this
-
tags
Sets the value ofCfnInferenceSchedulerMixinProps.getTags()- Parameters:
tags- Any tags associated with the inference scheduler. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInferenceSchedulerMixinProps>- Returns:
- a new instance of
CfnInferenceSchedulerMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-