Interface CreateModelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateModelRequest.Builder,,CreateModelRequest> LookoutEquipmentRequest.Builder,SdkBuilder<CreateModelRequest.Builder,,CreateModelRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateModelRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique identifier for the request.default CreateModelRequest.BuilderdataPreProcessingConfiguration(Consumer<DataPreProcessingConfiguration.Builder> dataPreProcessingConfiguration) The configuration is theTargetSamplingRate, which is the sampling rate of the data after post processing by Amazon Lookout for Equipment.dataPreProcessingConfiguration(DataPreProcessingConfiguration dataPreProcessingConfiguration) The configuration is theTargetSamplingRate, which is the sampling rate of the data after post processing by Amazon Lookout for Equipment.datasetName(String datasetName) The name of the dataset for the machine learning model being created.default CreateModelRequest.BuilderdatasetSchema(Consumer<DatasetSchema.Builder> datasetSchema) The data schema for the machine learning model being created.datasetSchema(DatasetSchema datasetSchema) The data schema for the machine learning model being created.evaluationDataEndTime(Instant evaluationDataEndTime) Indicates the time reference in the dataset that should be used to end the subset of evaluation data for the machine learning model.evaluationDataStartTime(Instant evaluationDataStartTime) Indicates the time reference in the dataset that should be used to begin the subset of evaluation data for the machine learning model.default CreateModelRequest.BuilderlabelsInputConfiguration(Consumer<LabelsInputConfiguration.Builder> labelsInputConfiguration) The input configuration for the labels being used for the machine learning model that's being created.labelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration) The input configuration for the labels being used for the machine learning model that's being created.default CreateModelRequest.BuildermodelDiagnosticsOutputConfiguration(Consumer<ModelDiagnosticsOutputConfiguration.Builder> modelDiagnosticsOutputConfiguration) The Amazon S3 location where you want Amazon Lookout for Equipment to save the pointwise model diagnostics.modelDiagnosticsOutputConfiguration(ModelDiagnosticsOutputConfiguration modelDiagnosticsOutputConfiguration) The Amazon S3 location where you want Amazon Lookout for Equipment to save the pointwise model diagnostics.The name for the machine learning model to be created.offCondition(String offCondition) Indicates that the asset associated with this sensor has been shut off.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the machine learning model.serverSideKmsKeyId(String serverSideKmsKeyId) Provides the identifier of the KMS key used to encrypt model data by Amazon Lookout for Equipment.tags(Collection<Tag> tags) Any tags associated with the machine learning model being created.tags(Consumer<Tag.Builder>... tags) Any tags associated with the machine learning model being created.Any tags associated with the machine learning model being created.trainingDataEndTime(Instant trainingDataEndTime) Indicates the time reference in the dataset that should be used to end the subset of training data for the machine learning model.trainingDataStartTime(Instant trainingDataStartTime) Indicates the time reference in the dataset that should be used to begin the subset of training data for the machine learning model.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
modelName
The name for the machine learning model to be created.
- Parameters:
modelName- The name for the machine learning model to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetName
The name of the dataset for the machine learning model being created.
- Parameters:
datasetName- The name of the dataset for the machine learning model being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetSchema
The data schema for the machine learning model being created.
- Parameters:
datasetSchema- The data schema for the machine learning model being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetSchema
The data schema for the machine learning model being created.
This is a convenience method that creates an instance of theDatasetSchema.Builderavoiding the need to create one manually viaDatasetSchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatasetSchema(DatasetSchema).- Parameters:
datasetSchema- a consumer that will call methods onDatasetSchema.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
labelsInputConfiguration
CreateModelRequest.Builder labelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration) The input configuration for the labels being used for the machine learning model that's being created.
- Parameters:
labelsInputConfiguration- The input configuration for the labels being used for the machine learning model that's being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelsInputConfiguration
default CreateModelRequest.Builder labelsInputConfiguration(Consumer<LabelsInputConfiguration.Builder> labelsInputConfiguration) The input configuration for the labels being used for the machine learning model that's being created.
This is a convenience method that creates an instance of theLabelsInputConfiguration.Builderavoiding the need to create one manually viaLabelsInputConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolabelsInputConfiguration(LabelsInputConfiguration).- Parameters:
labelsInputConfiguration- a consumer that will call methods onLabelsInputConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.
- Parameters:
clientToken- A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDataStartTime
Indicates the time reference in the dataset that should be used to begin the subset of training data for the machine learning model.
- Parameters:
trainingDataStartTime- Indicates the time reference in the dataset that should be used to begin the subset of training data for the machine learning model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDataEndTime
Indicates the time reference in the dataset that should be used to end the subset of training data for the machine learning model.
- Parameters:
trainingDataEndTime- Indicates the time reference in the dataset that should be used to end the subset of training data for the machine learning model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationDataStartTime
Indicates the time reference in the dataset that should be used to begin the subset of evaluation data for the machine learning model.
- Parameters:
evaluationDataStartTime- Indicates the time reference in the dataset that should be used to begin the subset of evaluation data for the machine learning model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationDataEndTime
Indicates the time reference in the dataset that should be used to end the subset of evaluation data for the machine learning model.
- Parameters:
evaluationDataEndTime- Indicates the time reference in the dataset that should be used to end the subset of evaluation data for the machine learning model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the machine learning model.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the machine learning model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPreProcessingConfiguration
CreateModelRequest.Builder dataPreProcessingConfiguration(DataPreProcessingConfiguration dataPreProcessingConfiguration) The configuration is the
TargetSamplingRate, which is the sampling rate of the data after post processing by Amazon Lookout for Equipment. For example, if you provide data that has been collected at a 1 second level and you want the system to resample the data at a 1 minute rate before training, theTargetSamplingRateis 1 minute.When providing a value for the
TargetSamplingRate, you must attach the prefix "PT" to the rate you want. The value for a 1 second rate is therefore PT1S, the value for a 15 minute rate is PT15M, and the value for a 1 hour rate is PT1H- Parameters:
dataPreProcessingConfiguration- The configuration is theTargetSamplingRate, which is the sampling rate of the data after post processing by Amazon Lookout for Equipment. For example, if you provide data that has been collected at a 1 second level and you want the system to resample the data at a 1 minute rate before training, theTargetSamplingRateis 1 minute.When providing a value for the
TargetSamplingRate, you must attach the prefix "PT" to the rate you want. The value for a 1 second rate is therefore PT1S, the value for a 15 minute rate is PT15M, and the value for a 1 hour rate is PT1H- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPreProcessingConfiguration
default CreateModelRequest.Builder dataPreProcessingConfiguration(Consumer<DataPreProcessingConfiguration.Builder> dataPreProcessingConfiguration) The configuration is the
TargetSamplingRate, which is the sampling rate of the data after post processing by Amazon Lookout for Equipment. For example, if you provide data that has been collected at a 1 second level and you want the system to resample the data at a 1 minute rate before training, theTargetSamplingRateis 1 minute.When providing a value for the
This is a convenience method that creates an instance of theTargetSamplingRate, you must attach the prefix "PT" to the rate you want. The value for a 1 second rate is therefore PT1S, the value for a 15 minute rate is PT15M, and the value for a 1 hour rate is PT1HDataPreProcessingConfiguration.Builderavoiding the need to create one manually viaDataPreProcessingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataPreProcessingConfiguration(DataPreProcessingConfiguration).- Parameters:
dataPreProcessingConfiguration- a consumer that will call methods onDataPreProcessingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverSideKmsKeyId
Provides the identifier of the KMS key used to encrypt model data by Amazon Lookout for Equipment.
- Parameters:
serverSideKmsKeyId- Provides the identifier of the KMS key used to encrypt model data by Amazon Lookout for Equipment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags associated with the machine learning model being created.
- Parameters:
tags- Any tags associated with the machine learning model being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags associated with the machine learning model being created.
- Parameters:
tags- Any tags associated with the machine learning model being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags associated with the machine learning model being created.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
offCondition
Indicates that the asset associated with this sensor has been shut off. As long as this condition is met, Lookout for Equipment will not use data from this asset for training, evaluation, or inference.
- Parameters:
offCondition- Indicates that the asset associated with this sensor has been shut off. As long as this condition is met, Lookout for Equipment will not use data from this asset for training, evaluation, or inference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelDiagnosticsOutputConfiguration
CreateModelRequest.Builder modelDiagnosticsOutputConfiguration(ModelDiagnosticsOutputConfiguration modelDiagnosticsOutputConfiguration) The Amazon S3 location where you want Amazon Lookout for Equipment to save the pointwise model diagnostics. You must also specify the
RoleArnrequest parameter.- Parameters:
modelDiagnosticsOutputConfiguration- The Amazon S3 location where you want Amazon Lookout for Equipment to save the pointwise model diagnostics. You must also specify theRoleArnrequest parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelDiagnosticsOutputConfiguration
default CreateModelRequest.Builder modelDiagnosticsOutputConfiguration(Consumer<ModelDiagnosticsOutputConfiguration.Builder> modelDiagnosticsOutputConfiguration) The Amazon S3 location where you want Amazon Lookout for Equipment to save the pointwise model diagnostics. You must also specify the
This is a convenience method that creates an instance of theRoleArnrequest parameter.ModelDiagnosticsOutputConfiguration.Builderavoiding the need to create one manually viaModelDiagnosticsOutputConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelDiagnosticsOutputConfiguration(ModelDiagnosticsOutputConfiguration).- Parameters:
modelDiagnosticsOutputConfiguration- a consumer that will call methods onModelDiagnosticsOutputConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateModelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateModelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-