Interface ImportModelVersionRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ImportModelVersionRequest.Builder,ImportModelVersionRequest>, LookoutEquipmentRequest.Builder, SdkBuilder<ImportModelVersionRequest.Builder,ImportModelVersionRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ImportModelVersionRequest

  • Method Details

    • 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

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

      Parameters:
      labelsInputConfiguration - a consumer that will call methods on LabelsInputConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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

      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

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

      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:
    • 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

      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:
    • overrideConfiguration

      ImportModelVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.