Interface ModelMetadata.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ModelMetadata.Builder,ModelMetadata>, SdkBuilder<ModelMetadata.Builder,ModelMetadata>, SdkPojo
Enclosing class:
ModelMetadata

public static interface ModelMetadata.Builder extends SdkPojo, CopyableBuilder<ModelMetadata.Builder,ModelMetadata>
  • Method Details

    • creationTimestamp

      ModelMetadata.Builder creationTimestamp(Instant creationTimestamp)

      The unix timestamp for the date and time that the model was created.

      Parameters:
      creationTimestamp - The unix timestamp for the date and time that the model was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelVersion

      ModelMetadata.Builder modelVersion(String modelVersion)

      The version of the model.

      Parameters:
      modelVersion - The version of the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelArn

      ModelMetadata.Builder modelArn(String modelArn)

      The Amazon Resource Name (ARN) of the model.

      Parameters:
      modelArn - The Amazon Resource Name (ARN) of the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      ModelMetadata.Builder description(String description)

      The description for the model.

      Parameters:
      description - The description for the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      ModelMetadata.Builder status(String status)

      The status of the model.

      Parameters:
      status - The status of the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the model.

      Parameters:
      status - The status of the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      ModelMetadata.Builder statusMessage(String statusMessage)

      The status message for the model.

      Parameters:
      statusMessage - The status message for the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • performance

      ModelMetadata.Builder performance(ModelPerformance performance)

      Performance metrics for the model. Not available until training has successfully completed.

      Parameters:
      performance - Performance metrics for the model. Not available until training has successfully completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • performance

      default ModelMetadata.Builder performance(Consumer<ModelPerformance.Builder> performance)

      Performance metrics for the model. Not available until training has successfully completed.

      This is a convenience method that creates an instance of the ModelPerformance.Builder avoiding the need to create one manually via ModelPerformance.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to performance(ModelPerformance).

      Parameters:
      performance - a consumer that will call methods on ModelPerformance.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: