Class FunctionsRuntime.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public FunctionsRuntime.Builder id​(String id)
        The OCID of the FunctionsRuntime that is immutable on creation.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • name

        public FunctionsRuntime.Builder name​(String name)
        A brief descriptive name for the FunctionsRuntime.

        The FunctionsRuntime name must be unique, and not match any existing FunctionsRuntime.

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

        public FunctionsRuntime.Builder os​(String os)
        The operating system of the FunctionsRuntime.

        This is the OS that the FunctionsRuntime provides for execution of customer payloads.

        Parameters:
        os - the value to set
        Returns:
        this builder
      • language

        public FunctionsRuntime.Builder language​(String language)
        The programming language of the FunctionsRuntime.

        This is the language that the FunctionsRuntime provides for execution of customer payloads.

        Parameters:
        language - the value to set
        Returns:
        this builder
      • timeDeprecated

        public FunctionsRuntime.Builder timeDeprecated​(Date timeDeprecated)
        The time when the FunctionsRuntime will be deprecated.

        An RFC3339 formatted datetime string.

        Parameters:
        timeDeprecated - the value to set
        Returns:
        this builder
      • timeDecommissioned

        public FunctionsRuntime.Builder timeDecommissioned​(Date timeDecommissioned)
        The time when the FunctionsRuntime will be decommissioned.

        An RFC3339 formatted datetime string.

        Parameters:
        timeDecommissioned - the value to set
        Returns:
        this builder
      • metadata

        public FunctionsRuntime.Builder metadata​(String metadata)
        Metadata for the FunctionsRuntime Resource.
        Parameters:
        metadata - the value to set
        Returns:
        this builder
      • lifecycleState

        public FunctionsRuntime.Builder lifecycleState​(FunctionsRuntime.LifecycleState lifecycleState)
        The current state of the FunctionsRuntime resource.
        • ACTIVE: The resource is currently active and operational. - INACTIVE: The resource is currently inactive and not operational.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • currentFunctionsRuntimeVersionId

        public FunctionsRuntime.Builder currentFunctionsRuntimeVersionId​(String currentFunctionsRuntimeVersionId)
        The OCID of the current FunctionsRuntimeVersion for this FunctionsRuntime.
        Parameters:
        currentFunctionsRuntimeVersionId - the value to set
        Returns:
        this builder
      • timeCreated

        public FunctionsRuntime.Builder timeCreated​(Date timeCreated)
        The time when the FunctionsRuntime was created.

        An RFC3339 formatted datetime string.

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

        public FunctionsRuntime.Builder timeUpdated​(Date timeUpdated)
        The time when the FunctionsRuntime was updated.

        An RFC3339 formatted datetime string.

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

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

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

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

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

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

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

        public FunctionsRuntime.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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