Class CreateModelDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public CreateModelDetails.Builder displayName​(String displayName)
        A human-friendly name for the model, which can be changed.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public CreateModelDetails.Builder description​(String description)
        An optional description of the model.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • modelVersion

        public CreateModelDetails.Builder modelVersion​(String modelVersion)
        The model version
        Parameters:
        modelVersion - the value to set
        Returns:
        this builder
      • compartmentId

        public CreateModelDetails.Builder compartmentId​(String compartmentId)
        The compartment identifier.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • isQuickMode

        public CreateModelDetails.Builder isQuickMode​(Boolean isQuickMode)
        Set to true when experimenting with a new model type or dataset, so the model training is quick, with a predefined low number of passes through the training data.
        Parameters:
        isQuickMode - the value to set
        Returns:
        this builder
      • maxTrainingDurationInHours

        public CreateModelDetails.Builder maxTrainingDurationInHours​(Double maxTrainingDurationInHours)
        The maximum model training duration in hours, expressed as a decimal fraction.
        Parameters:
        maxTrainingDurationInHours - the value to set
        Returns:
        this builder
      • projectId

        public CreateModelDetails.Builder projectId​(String projectId)
        The OCID of the project that contains the model.
        Parameters:
        projectId - the value to set
        Returns:
        this builder
      • freeformTags

        public CreateModelDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        A simple key-value pair that is applied without any predefined name, type, or scope.

        It exists for cross-compatibility only. For example: {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public CreateModelDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For example: {“foo-namespace”: {“bar-key”: “value”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder