Interface ImportModelVersionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ImportModelVersionRequest.Builder,ImportModelVersionRequest>,LookoutEquipmentRequest.Builder,SdkBuilder<ImportModelVersionRequest.Builder,ImportModelVersionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ImportModelVersionRequest
public static interface ImportModelVersionRequest.Builder extends LookoutEquipmentRequest.Builder, SdkPojo, CopyableBuilder<ImportModelVersionRequest.Builder,ImportModelVersionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ImportModelVersionRequest.BuilderclientToken(String clientToken)A unique identifier for the request.ImportModelVersionRequest.BuilderdatasetName(String datasetName)The name of the dataset for the machine learning model being imported.ImportModelVersionRequest.BuilderinferenceDataImportStrategy(String inferenceDataImportStrategy)Indicates how to import the accumulated inference data when a model version is imported.ImportModelVersionRequest.BuilderinferenceDataImportStrategy(InferenceDataImportStrategy inferenceDataImportStrategy)Indicates how to import the accumulated inference data when a model version is imported.default ImportModelVersionRequest.BuilderlabelsInputConfiguration(Consumer<LabelsInputConfiguration.Builder> labelsInputConfiguration)Sets the value of the LabelsInputConfiguration property for this object.ImportModelVersionRequest.BuilderlabelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration)Sets the value of the LabelsInputConfiguration property for this object.ImportModelVersionRequest.BuildermodelName(String modelName)The name for the machine learning model to be created.ImportModelVersionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ImportModelVersionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ImportModelVersionRequest.BuilderroleArn(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.BuilderserverSideKmsKeyId(String serverSideKmsKeyId)Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.ImportModelVersionRequest.BuildersourceModelVersionArn(String sourceModelVersionArn)The Amazon Resource Name (ARN) of the model version to import.ImportModelVersionRequest.Buildertags(Collection<Tag> tags)The tags associated with the machine learning model to be created.ImportModelVersionRequest.Buildertags(Consumer<Tag.Builder>... tags)The tags associated with the machine learning model to be created.ImportModelVersionRequest.Buildertags(Tag... tags)The tags associated with the machine learning model to be created.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
sourceModelVersionArn
ImportModelVersionRequest.Builder sourceModelVersionArn(String sourceModelVersionArn)
The Amazon Resource Name (ARN) of the model version to import.
- Parameters:
sourceModelVersionArn- The Amazon Resource Name (ARN) of the model version to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelName
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetName
ImportModelVersionRequest.Builder datasetName(String datasetName)
The name of the dataset for the machine learning model being imported.
- Parameters:
datasetName- The name of the dataset for the machine learning model being imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelsInputConfiguration
ImportModelVersionRequest.Builder labelsInputConfiguration(LabelsInputConfiguration labelsInputConfiguration)
Sets the value of the LabelsInputConfiguration property for this object.- Parameters:
labelsInputConfiguration- The new value for the LabelsInputConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelsInputConfiguration
default ImportModelVersionRequest.Builder labelsInputConfiguration(Consumer<LabelsInputConfiguration.Builder> labelsInputConfiguration)
Sets the value of the LabelsInputConfiguration property for this object. 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:
labelsInputConfiguration(LabelsInputConfiguration)
-
clientToken
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.
- 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.
-
roleArn
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.
- 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.
-
serverSideKmsKeyId
ImportModelVersionRequest.Builder serverSideKmsKeyId(String serverSideKmsKeyId)
Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.
- Parameters:
serverSideKmsKeyId- Provides the identifier of the KMS key 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
ImportModelVersionRequest.Builder tags(Collection<Tag> tags)
The tags associated with the machine learning model to be created.
- Parameters:
tags- The tags associated with the machine learning model to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ImportModelVersionRequest.Builder tags(Tag... tags)
The tags associated with the machine learning model to be created.
- Parameters:
tags- The tags associated with the machine learning model to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
inferenceDataImportStrategy
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InferenceDataImportStrategy,InferenceDataImportStrategy
-
-
inferenceDataImportStrategy
ImportModelVersionRequest.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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InferenceDataImportStrategy,InferenceDataImportStrategy
-
-
overrideConfiguration
ImportModelVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ImportModelVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-