public static interface ImportModelVersionRequest.Builder extends LookoutEquipmentRequest.Builder, SdkPojo, CopyableBuilder<ImportModelVersionRequest.Builder,ImportModelVersionRequest>
| Modifier and Type | Method and Description |
|---|---|
ImportModelVersionRequest.Builder |
clientToken(String clientToken)
A unique identifier for the request.
|
ImportModelVersionRequest.Builder |
datasetName(String datasetName)
The name of the dataset for the machine learning model being imported.
|
ImportModelVersionRequest.Builder |
inferenceDataImportStrategy(InferenceDataImportStrategy inferenceDataImportStrategy)
Indicates how to import the accumulated inference data when a model version is imported.
|
ImportModelVersionRequest.Builder |
inferenceDataImportStrategy(String inferenceDataImportStrategy)
Indicates how to import the accumulated inference data when a model version is imported.
|
default ImportModelVersionRequest.Builder |
labelsInputConfiguration(Consumer<LabelsInputConfiguration.Builder> labelsInputConfiguration)
Sets the value of the LabelsInputConfiguration property for this object.
|
ImportModelVersionRequest.Builder |
labelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration)
Sets the value of the LabelsInputConfiguration property for this object.
|
ImportModelVersionRequest.Builder |
modelName(String modelName)
The name for the machine learning model to be created.
|
ImportModelVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ImportModelVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ImportModelVersionRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the
machine learning model.
|
ImportModelVersionRequest.Builder |
serverSideKmsKeyId(String serverSideKmsKeyId)
Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.
|
ImportModelVersionRequest.Builder |
sourceModelVersionArn(String sourceModelVersionArn)
The Amazon Resource Name (ARN) of the model version to import.
|
ImportModelVersionRequest.Builder |
tags(Collection<Tag> tags)
The tags associated with the machine learning model to be created.
|
ImportModelVersionRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags associated with the machine learning model to be created.
|
ImportModelVersionRequest.Builder |
tags(Tag... tags)
The tags associated with the machine learning model to be created.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildImportModelVersionRequest.Builder sourceModelVersionArn(String sourceModelVersionArn)
The Amazon Resource Name (ARN) of the model version to import.
sourceModelVersionArn - The Amazon Resource Name (ARN) of the model version to import.ImportModelVersionRequest.Builder modelName(String modelName)
The name for the machine learning model to be created. If the model already exists, Amazon Lookout for Equipment creates a new version. If you do not specify this field, it is filled with the name of the source model.
modelName - The name for the machine learning model to be created. If the model already exists, Amazon Lookout for
Equipment creates a new version. If you do not specify this field, it is filled with the name of the
source model.ImportModelVersionRequest.Builder datasetName(String datasetName)
The name of the dataset for the machine learning model being imported.
datasetName - The name of the dataset for the machine learning model being imported.ImportModelVersionRequest.Builder labelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration)
labelsInputConfiguration - The new value for the LabelsInputConfiguration property for this object.default ImportModelVersionRequest.Builder labelsInputConfiguration(Consumer<LabelsInputConfiguration.Builder> labelsInputConfiguration)
LabelsInputConfiguration.Builder
avoiding the need to create one manually via LabelsInputConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to labelsInputConfiguration(LabelsInputConfiguration).
labelsInputConfiguration - a consumer that will call methods on LabelsInputConfiguration.BuilderlabelsInputConfiguration(LabelsInputConfiguration)ImportModelVersionRequest.Builder clientToken(String clientToken)
A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.
clientToken - A unique identifier for the request. If you do not set the client request token, Amazon Lookout for
Equipment generates one.ImportModelVersionRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the machine learning model.
roleArn - The Amazon Resource Name (ARN) of a role with permission to access the data source being used to
create the machine learning model.ImportModelVersionRequest.Builder serverSideKmsKeyId(String serverSideKmsKeyId)
Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.
serverSideKmsKeyId - Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.ImportModelVersionRequest.Builder tags(Collection<Tag> tags)
The tags associated with the machine learning model to be created.
tags - The tags associated with the machine learning model to be created.ImportModelVersionRequest.Builder tags(Tag... tags)
The tags associated with the machine learning model to be created.
tags - The tags associated with the machine learning model to be created.ImportModelVersionRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with the machine learning model to be created.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) ImportModelVersionRequest.Builder inferenceDataImportStrategy(String inferenceDataImportStrategy)
Indicates how to import the accumulated inference data when a model version is imported. The possible values are as follows:
NO_IMPORT – Don't import the data.
ADD_WHEN_EMPTY – Only import the data from the source model if there is no existing data in the target model.
OVERWRITE – Import the data from the source model and overwrite the existing data in the target model.
inferenceDataImportStrategy - Indicates how to import the accumulated inference data when a model version is imported. The possible
values are as follows:
NO_IMPORT – Don't import the data.
ADD_WHEN_EMPTY – Only import the data from the source model if there is no existing data in the target model.
OVERWRITE – Import the data from the source model and overwrite the existing data in the target model.
InferenceDataImportStrategy,
InferenceDataImportStrategyImportModelVersionRequest.Builder inferenceDataImportStrategy(InferenceDataImportStrategy inferenceDataImportStrategy)
Indicates how to import the accumulated inference data when a model version is imported. The possible values are as follows:
NO_IMPORT – Don't import the data.
ADD_WHEN_EMPTY – Only import the data from the source model if there is no existing data in the target model.
OVERWRITE – Import the data from the source model and overwrite the existing data in the target model.
inferenceDataImportStrategy - Indicates how to import the accumulated inference data when a model version is imported. The possible
values are as follows:
NO_IMPORT – Don't import the data.
ADD_WHEN_EMPTY – Only import the data from the source model if there is no existing data in the target model.
OVERWRITE – Import the data from the source model and overwrite the existing data in the target model.
InferenceDataImportStrategy,
InferenceDataImportStrategyImportModelVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderImportModelVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.