Interface ImportModelVersionRequest.Builder

    • 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.
      • 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 the Tag.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).

        Parameters:
        tags - a consumer that will call methods on Tag.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