Class ListMonitoredResourceTypesRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public ListMonitoredResourceTypesRequest.Builder compartmentId​(String compartmentId)
        The OCID of the tenancy for which monitored resource types should be listed.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder instance
      • name

        public ListMonitoredResourceTypesRequest.Builder name​(String name)
        A filter to return monitored resource types that match exactly with the resource type name given.
        Parameters:
        name - the value to set
        Returns:
        this builder instance
      • isExcludeSystemTypes

        public ListMonitoredResourceTypesRequest.Builder isExcludeSystemTypes​(Boolean isExcludeSystemTypes)
        A filter to exclude system resource types.

        If set to true, system resource types will be excluded.

        Parameters:
        isExcludeSystemTypes - the value to set
        Returns:
        this builder instance
      • metricNamespace

        public ListMonitoredResourceTypesRequest.Builder metricNamespace​(String metricNamespace)
        A filter to return monitored resource types that has the matching namespace.
        Parameters:
        metricNamespace - the value to set
        Returns:
        this builder instance
      • limit

        public ListMonitoredResourceTypesRequest.Builder limit​(Integer limit)
        For list pagination.

        The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.

        Parameters:
        limit - the value to set
        Returns:
        this builder instance
      • page

        public ListMonitoredResourceTypesRequest.Builder page​(String page)
        For list pagination.

        The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination.

        Parameters:
        page - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public ListMonitoredResourceTypesRequest.Builder opcRequestId​(String opcRequestId)
        Unique Oracle-assigned identifier for the request.

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

        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • fields

        public ListMonitoredResourceTypesRequest.Builder fields​(List<String> fields)
        Partial response refers to an optimization technique offered by the RESTful web APIs, to return only the information (fields) required by the client.

        In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to return and should be a query string parameter called “fields” of an array type, provide the values as enums, and use collectionFormat.

        MonitoredResourceType Id, name and compartment will be added by default.

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

        public ListMonitoredResourceTypesRequest.Builder fields​(String singularValue)
        Singular setter.

        Partial response refers to an optimization technique offered by the RESTful web APIs, to return only the information (fields) required by the client. In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to return and should be a query string parameter called “fields” of an array type, provide the values as enums, and use collectionFormat.

        MonitoredResourceType Id, name and compartment will be added by default.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • excludeFields

        public ListMonitoredResourceTypesRequest.Builder excludeFields​(List<String> excludeFields)
        Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client.

        In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called “excludeFields” of an array type, provide the values as enums, and use collectionFormat.

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

        public ListMonitoredResourceTypesRequest.Builder excludeFields​(String singularValue)
        Singular setter.

        Partial response refers to an optimization technique offered by the RESTful web APIs, to return all the information except the fields requested to be excluded (excludeFields) by the client. In this mechanism, the client sends the exclude field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter controls which fields to exlude and to return and should be a query string parameter called “excludeFields” of an array type, provide the values as enums, and use collectionFormat.

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

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