Class MlApplicationImplementation.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public MlApplicationImplementation.Builder id​(String id)
        The OCID of the MlApplicationImplementation.

        Unique identifier that is immutable after creation.

        Parameters:
        id - the value to set
        Returns:
        this builder
      • name

        public MlApplicationImplementation.Builder name​(String name)
        ML Application Implementation name which is unique for given ML Application.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • description

        public MlApplicationImplementation.Builder description​(String description)
        Description of ML Application Implementation defined in ML Application package descriptor
        Parameters:
        description - the value to set
        Returns:
        this builder
      • mlApplicationId

        public MlApplicationImplementation.Builder mlApplicationId​(String mlApplicationId)
        The OCID of the ML Application implemented by this ML Application Implementation.
        Parameters:
        mlApplicationId - the value to set
        Returns:
        this builder
      • mlApplicationName

        public MlApplicationImplementation.Builder mlApplicationName​(String mlApplicationName)
        The name of ML Application (based on mlApplicationId)
        Parameters:
        mlApplicationName - the value to set
        Returns:
        this builder
      • packageVersion

        public MlApplicationImplementation.Builder packageVersion​(String packageVersion)
        The version of ML Application Package (e.g.

        “1.2” or “2.0.4”) defined in ML Application package descriptor. Value is not mandatory only for CREATING state otherwise it must be always presented.

        Parameters:
        packageVersion - the value to set
        Returns:
        this builder
      • applicationComponents

        public MlApplicationImplementation.Builder applicationComponents​(List<ApplicationComponent> applicationComponents)
        List of application components (OCI resources shared for all MlApplicationInstances).

        These have been created automatically based on their definitions in the ML Application package.

        Parameters:
        applicationComponents - the value to set
        Returns:
        this builder
      • configurationSchema

        public MlApplicationImplementation.Builder configurationSchema​(List<ConfigurationPropertySchema> configurationSchema)
        Schema of configuration which needs to be provided for each ML Application Instance.

        It is defined in the ML Application package descriptor.

        Parameters:
        configurationSchema - the value to set
        Returns:
        this builder
      • allowedMigrationDestinations

        public MlApplicationImplementation.Builder allowedMigrationDestinations​(List<String> allowedMigrationDestinations)
        List of ML Application Implementation OCIDs for which migration from this implementation is allowed.

        Migration means that if consumers change implementation for their instances to implementation with OCID from this list, instance components will be updated in place otherwise new instance components are created based on the new implementation and old instance components are removed.

        Parameters:
        allowedMigrationDestinations - the value to set
        Returns:
        this builder
      • compartmentId

        public MlApplicationImplementation.Builder compartmentId​(String compartmentId)
        The OCID of the compartment where ML Application Implementation is created.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • timeCreated

        public MlApplicationImplementation.Builder timeCreated​(Date timeCreated)
        Creation time of MlApplicationImplementation creation in the format defined by RFC 3339.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public MlApplicationImplementation.Builder timeUpdated​(Date timeUpdated)
        Time of last MlApplicationImplementation update in the format defined by RFC 3339.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public MlApplicationImplementation.Builder lifecycleDetails​(String lifecycleDetails)
        A message describing the current state in more detail.

        For example, can be used to provide actionable information for a resource in Failed state.

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

        public MlApplicationImplementation.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
      • systemTags

        public MlApplicationImplementation.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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