Class ResourceUsageSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • exadataInsightId

        public ResourceUsageSummary.Builder exadataInsightId​(String exadataInsightId)
        The OCID of the Exadata insight.
        Parameters:
        exadataInsightId - the value to set
        Returns:
        this builder
      • exadataDisplayName

        public ResourceUsageSummary.Builder exadataDisplayName​(String exadataDisplayName)
        The user-friendly name for the Exadata system.

        The name does not have to be unique.

        Parameters:
        exadataDisplayName - the value to set
        Returns:
        this builder
      • usage

        public ResourceUsageSummary.Builder usage​(Double usage)
        Total amount used of the resource metric type (CPU, STORAGE).
        Parameters:
        usage - the value to set
        Returns:
        this builder
      • capacity

        public ResourceUsageSummary.Builder capacity​(Double capacity)
        The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
        Parameters:
        capacity - the value to set
        Returns:
        this builder
      • utilizationPercent

        public ResourceUsageSummary.Builder utilizationPercent​(Double utilizationPercent)
        Resource utilization in percentage
        Parameters:
        utilizationPercent - the value to set
        Returns:
        this builder
      • usageChangePercent

        public ResourceUsageSummary.Builder usageChangePercent​(Double usageChangePercent)
        Change in resource utilization in percentage
        Parameters:
        usageChangePercent - the value to set
        Returns:
        this builder
      • totalHostCapacity

        public ResourceUsageSummary.Builder totalHostCapacity​(Double totalHostCapacity)
        The maximum host CPUs (cores x threads/core) on the underlying infrastructure.

        This only applies to CPU and does not not apply for Autonomous Databases.

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