Class GiHome.Builder

  • Enclosing class:
    GiHome

    public static class GiHome.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public GiHome.Builder id​(String id)
        The OCID of the Grid Infrastructure Home.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • compartmentId

        public GiHome.Builder compartmentId​(String compartmentId)
        The OCID of the compartment.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public GiHome.Builder displayName​(String displayName)
        The user-provided name for the Grid Infrastructure Home.

        The name does not need to be unique and gets dynamically generated if null.

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

        public GiHome.Builder isDefaultCreated​(Boolean isDefaultCreated)
        Indicates whether the grid infrastructure home is created by default.
        Parameters:
        isDefaultCreated - the value to set
        Returns:
        this builder
      • lifecycleState

        public GiHome.Builder lifecycleState​(GiHome.LifecycleState lifecycleState)
        The current state of the Grid Infrastructure Home.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • timeCreated

        public GiHome.Builder timeCreated​(Date timeCreated)
        The time and date as an RFC3339 formatted string, e.g., 2024-04-11T01:59:07.032Z, when the grid infrastructure home was created
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • homePath

        public GiHome.Builder homePath​(String homePath)
        The path of the Grid Infrastructure Home.
        Parameters:
        homePath - the value to set
        Returns:
        this builder
      • giVersion

        public GiHome.Builder giVersion​(String giVersion)
        A valid Oracle Grid Infrastructure (GI) software version.
        Parameters:
        giVersion - the value to set
        Returns:
        this builder
      • giImageId

        public GiHome.Builder giImageId​(String giImageId)
        The grid infrastructure home image OCID
        Parameters:
        giImageId - the value to set
        Returns:
        this builder
      • timeUpdated

        public GiHome.Builder timeUpdated​(Date timeUpdated)
        The time and date as an RFC3339 formatted string, e.g., 2024-04-11T01:59:07.032Z, when the grid infrastructure home was updated
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • dbSystemId

        public GiHome.Builder dbSystemId​(String dbSystemId)
        The OCID of the DB system.
        Parameters:
        dbSystemId - the value to set
        Returns:
        this builder
      • definedTags

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

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

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

        public GiHome.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. For more information, see Resource Tags.

        Example: {"Department": "Finance"}

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

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

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

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

        public GiHome build()