Class CreateConfigurationDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

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

        Avoid entering confidential information.

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

        public CreateConfigurationDetails.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the configuration.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • shape

        public CreateConfigurationDetails.Builder shape​(String shape)
        The name of the shape for the configuration.

        For multi-shape enabled configurations, it is set to PostgreSQL.X86 or similar. Please use compatibleShapes property to set the list of supported shapes.

        Parameters:
        shape - the value to set
        Returns:
        this builder
      • isFlexible

        public CreateConfigurationDetails.Builder isFlexible​(Boolean isFlexible)
        Whether the configuration supports flexible shapes.
        Parameters:
        isFlexible - the value to set
        Returns:
        this builder
      • instanceOcpuCount

        public CreateConfigurationDetails.Builder instanceOcpuCount​(Integer instanceOcpuCount)
        CPU core count.

        Skip or set it's value to 0 if configuration is for a flexible shape.

        Parameters:
        instanceOcpuCount - the value to set
        Returns:
        this builder
      • instanceMemorySizeInGBs

        public CreateConfigurationDetails.Builder instanceMemorySizeInGBs​(Integer instanceMemorySizeInGBs)
        Memory size in gigabytes with 1GB increment.

        Skip or set it's value to 0 if configuration is for a flexible shape.

        Parameters:
        instanceMemorySizeInGBs - the value to set
        Returns:
        this builder
      • compatibleShapes

        public CreateConfigurationDetails.Builder compatibleShapes​(List<String> compatibleShapes)
        Indicates the collection of compatible shapes for this configuration.
        Parameters:
        compatibleShapes - the value to set
        Returns:
        this builder
      • freeformTags

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