Class ModelSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public ModelSummary.Builder compartmentId​(String compartmentId)
        The OCID of the model’s compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • projectId

        public ModelSummary.Builder projectId​(String projectId)
        The OCID of the project associated with the model.
        Parameters:
        projectId - the value to set
        Returns:
        this builder
      • displayName

        public ModelSummary.Builder displayName​(String displayName)
        A user-friendly display name for the resource.

        It does not have to be unique and can be modified. Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • createdBy

        public ModelSummary.Builder createdBy​(String createdBy)
        The OCID of the user who created the model.
        Parameters:
        createdBy - the value to set
        Returns:
        this builder
      • timeCreated

        public ModelSummary.Builder timeCreated​(Date timeCreated)
        The date and time the resource was created in the timestamp format defined by RFC3339.

        Example: 2019-08-25T21:10:29.41Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public ModelSummary.Builder lifecycleDetails​(String lifecycleDetails)
        Details about the lifecycle state of the model.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • modelVersionSetId

        public ModelSummary.Builder modelVersionSetId​(String modelVersionSetId)
        The OCID of the model version set that the model is associated to.
        Parameters:
        modelVersionSetId - the value to set
        Returns:
        this builder
      • modelVersionSetName

        public ModelSummary.Builder modelVersionSetName​(String modelVersionSetName)
        The name of the model version set that the model is associated to.
        Parameters:
        modelVersionSetName - the value to set
        Returns:
        this builder
      • versionId

        public ModelSummary.Builder versionId​(Long versionId)
        Unique identifier assigned to each version of the model.
        Parameters:
        versionId - the value to set
        Returns:
        this builder
      • versionLabel

        public ModelSummary.Builder versionLabel​(String versionLabel)
        The version label can add an additional description of the lifecycle state of the model or the application using and training the model.
        Parameters:
        versionLabel - the value to set
        Returns:
        this builder
      • category

        public ModelSummary.Builder category​(ModelCategory category)
        The category of the model.
        Parameters:
        category - the value to set
        Returns:
        this builder
      • isModelByReference

        public ModelSummary.Builder isModelByReference​(Boolean isModelByReference)
        Identifier to indicate whether a model artifact resides in the Service Tenancy or Customer Tenancy.
        Parameters:
        isModelByReference - the value to set
        Returns:
        this builder
      • freeformTags

        public ModelSummary.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {“Department”: “Finance”}

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

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

        Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

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