Class SummarizeMetricsDataRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20180401")
    public class SummarizeMetricsDataRequest
    extends BmcRequest<SummarizeMetricsDataDetails>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/monitoring/SummarizeMetricsDataExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use SummarizeMetricsDataRequest.

    • Constructor Detail

      • SummarizeMetricsDataRequest

        public SummarizeMetricsDataRequest()
    • Method Detail

      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment containing the resources monitored by the metric that you are searching for.

        Use tenancyId to search in the root compartment.

        Example: ocid1.compartment.oc1..exampleuniqueID

      • getSummarizeMetricsDataDetails

        public SummarizeMetricsDataDetails getSummarizeMetricsDataDetails()
        The dimensions used to filter for metrics.
      • getOpcRequestId

        public String getOpcRequestId()
        Customer part of the request identifier token.

        If you need to contact Oracle about a particular request, please provide the complete request ID.

      • getCompartmentIdInSubtree

        public Boolean getCompartmentIdInSubtree()
        When true, returns resources from all compartments and subcompartments.

        The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false.