Class ListMonitoredResourceTypesRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20210330")
    public class ListMonitoredResourceTypesRequest
    extends BmcRequest<Void>

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

    • Constructor Detail

      • ListMonitoredResourceTypesRequest

        public ListMonitoredResourceTypesRequest()
    • Method Detail

      • getCompartmentId

        public String getCompartmentId()
        The OCID of the tenancy for which monitored resource types should be listed.
      • getName

        public String getName()
        A filter to return monitored resource types that match exactly with the resource type name given.
      • getStatus

        public ResourceTypeLifecycleState getStatus()
        A filter to return only resources that matches with lifecycleState given.
      • getIsExcludeSystemTypes

        public Boolean getIsExcludeSystemTypes()
        A filter to exclude system resource types.

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

      • getMetricNamespace

        public String getMetricNamespace()
        A filter to return monitored resource types that has the matching namespace.
      • getSourceType

        public SourceType getSourceType()
        A filter to return only resources with matching source type.
      • getResourceCategory

        public ResourceCategory getResourceCategory()
        A filter to return only resources with matching resource category.
      • getSortBy

        public ListMonitoredResourceTypesRequest.SortBy getSortBy()
        The field to sort by.

        Only one sort order may be provided. Default order for ‘timeUpdated’ is descending. Default order for ‘name’ is ascending.

      • getSortOrder

        public SortOrder getSortOrder()
        The sort order to use, either ascending (ASC) or descending (DESC).
      • getLimit

        public Integer getLimit()
        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.

      • getPage

        public String getPage()
        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.

      • getOpcRequestId

        public String getOpcRequestId()
        Unique Oracle-assigned identifier for the request.

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

      • getFields

        public List<String> getFields()
        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.

      • getExcludeFields

        public List<String> getExcludeFields()
        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.

      • equals

        public boolean equals​(Object o)
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
        Overrides:
        equals in class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>