Class GetPdbMetricsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • managedDatabaseId

        public GetPdbMetricsRequest.Builder managedDatabaseId​(String managedDatabaseId)
        The OCID of the Managed Database.
        Parameters:
        managedDatabaseId - the value to set
        Returns:
        this builder instance
      • startTime

        public GetPdbMetricsRequest.Builder startTime​(String startTime)
        The start time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.
        Parameters:
        startTime - the value to set
        Returns:
        this builder instance
      • endTime

        public GetPdbMetricsRequest.Builder endTime​(String endTime)
        The end time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.
        Parameters:
        endTime - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public GetPdbMetricsRequest.Builder opcRequestId​(String opcRequestId)
        The client request ID for tracing.
        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • compartmentId

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

        public GetPdbMetricsRequest.Builder compareType​(CompareType compareType)
        The time window used for metrics comparison.
        Parameters:
        compareType - the value to set
        Returns:
        this builder instance
      • filterByMetricNames

        public GetPdbMetricsRequest.Builder filterByMetricNames​(String filterByMetricNames)
        The filter used to retrieve a specific set of metrics by passing the desired metric names with a comma separator.

        Note that, by default, the service returns all supported metrics.

        Parameters:
        filterByMetricNames - the value to set
        Returns:
        this builder instance
      • invocationCallback

        public GetPdbMetricsRequest.Builder invocationCallback​(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
        Set the invocation callback for the request to be built.
        Parameters:
        invocationCallback - the invocation callback to be set for the request
        Returns:
        this builder instance
      • retryConfiguration

        public GetPdbMetricsRequest.Builder retryConfiguration​(RetryConfiguration retryConfiguration)
        Set the retry configuration for the request to be built.
        Parameters:
        retryConfiguration - the retry configuration to be used for the request
        Returns:
        this builder instance