Class OccOverviewSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public OccOverviewSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment from which the api call is made.

        This will be used for authorizing the request.

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

        public OccOverviewSummary.Builder periodValue​(String periodValue)
        The name of the month along with year for which this summary corresponds to.
        Parameters:
        periodValue - the value to set
        Returns:
        this builder
      • resourceName

        public OccOverviewSummary.Builder resourceName​(String resourceName)
        The name of the resource for which we have aggregated the value.
        Parameters:
        resourceName - the value to set
        Returns:
        this builder
      • totalAvailable

        public OccOverviewSummary.Builder totalAvailable​(Long totalAvailable)
        The quantity of the resource which is available at the end of the period of aggregationDetails model in consideration.
        Parameters:
        totalAvailable - the value to set
        Returns:
        this builder
      • totalDemanded

        public OccOverviewSummary.Builder totalDemanded​(Long totalDemanded)
        The quantity of the resource which is demanded by customers via capacity requests against the resource name at the end of the time period in consideration for overview.
        Parameters:
        totalDemanded - the value to set
        Returns:
        this builder
      • totalSupplied

        public OccOverviewSummary.Builder totalSupplied​(Long totalSupplied)
        The quantity of the resource which is supplied by Oracle to the customer against the resource name at the end of the time period in consideration.
        Parameters:
        totalSupplied - the value to set
        Returns:
        this builder
      • totalRejected

        public OccOverviewSummary.Builder totalRejected​(Long totalRejected)
        The quantity of the resource which is rejected by Oracle.
        Parameters:
        totalRejected - the value to set
        Returns:
        this builder
      • totalCancelled

        public OccOverviewSummary.Builder totalCancelled​(Long totalCancelled)
        The quantity of the resource which is cancelled by the customer.

        Once the capacity request was submitted, the customer can still cancel it. This field sums up those values.

        Parameters:
        totalCancelled - the value to set
        Returns:
        this builder
      • totalUnfulfilled

        public OccOverviewSummary.Builder totalUnfulfilled​(Long totalUnfulfilled)
        The quantity of the resource which Oracle was unable to supply.

        For a given capacity request, Oracle sometimes cannot supply the entire value demanded by the customer. In such cases a partial value is provided, thereby leaving behind a portion of unfulfilled values. This field sums that up.

        Parameters:
        totalUnfulfilled - the value to set
        Returns:
        this builder
      • workloadTypeBreakdownBlob

        public OccOverviewSummary.Builder workloadTypeBreakdownBlob​(String workloadTypeBreakdownBlob)
        A raw json blob containing breakdown of totalAvailable, totalDemanded, totalSupplied, totalRejected, totalCancelled and totalUnfulfilled by workload types
        Parameters:
        workloadTypeBreakdownBlob - the value to set
        Returns:
        this builder
      • capacityRequestsBlob

        public OccOverviewSummary.Builder capacityRequestsBlob​(String capacityRequestsBlob)
        A raw json blob containing all the capacity requests corresponding to the resource name
        Parameters:
        capacityRequestsBlob - the value to set
        Returns:
        this builder
      • unit

        public OccOverviewSummary.Builder unit​(String unit)
        The unit e.g SERVER in which the above values like totalAvailable, totalSupplied etc is measured.
        Parameters:
        unit - the value to set
        Returns:
        this builder