Class MlApplicationInstance.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

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

        Unique identifier that is immutable after creation

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

        public MlApplicationInstance.Builder displayName​(String displayName)
        The name of MlApplicationInstance.

        System will generate displayName when not provided during creation.

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

        public MlApplicationInstance.Builder mlApplicationId​(String mlApplicationId)
        The OCID of ML Application.

        This resource is an instance of ML Application referenced by this OCID.

        Parameters:
        mlApplicationId - the value to set
        Returns:
        this builder
      • mlApplicationName

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

        public MlApplicationInstance.Builder mlApplicationImplementationId​(String mlApplicationImplementationId)
        The OCID of ML Application Implementation selected as a certain solution for a given ML problem (ML Application)
        Parameters:
        mlApplicationImplementationId - the value to set
        Returns:
        this builder
      • mlApplicationImplementationName

        public MlApplicationInstance.Builder mlApplicationImplementationName​(String mlApplicationImplementationName)
        The name of Ml Application Implementation (based on mlApplicationImplementationId)
        Parameters:
        mlApplicationImplementationName - the value to set
        Returns:
        this builder
      • configuration

        public MlApplicationInstance.Builder configuration​(List<ConfigurationProperty> configuration)
        Data that are used for provisioning of the given MlApplicationInstance.

        These are validated against configurationSchema defined in referenced MlApplicationImplementation.

        Parameters:
        configuration - the value to set
        Returns:
        this builder
      • isEnabled

        public MlApplicationInstance.Builder isEnabled​(Boolean isEnabled)
        States whether the MlApplicationInstance is supposed to be in ACTIVE lifecycle state.
        Parameters:
        isEnabled - the value to set
        Returns:
        this builder
      • compartmentId

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

        public MlApplicationInstance.Builder timeCreated​(Date timeCreated)
        The time the the MlApplication was created.

        An RFC3339 formatted datetime string

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

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

        public MlApplicationInstance.Builder lifecycleSubstate​(MlApplicationInstance.LifecycleSubstate lifecycleSubstate)
        The current substate of the MlApplicationInstance.

        The substate has MlApplicationInstance specific values in comparison with lifecycleState which has standard values common for all OCI resources. The NEEDS_ATTENTION and FAILED substates are deprecated in favor of (NON_)?RECOVERABLE_(PROVIDER|SERVICE)_ISSUE and will be removed in next release.

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

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

        public MlApplicationInstance.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