Class SearchAssociatedResourcesRequest


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

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

    • Constructor Detail

      • SearchAssociatedResourcesRequest

        public SearchAssociatedResourcesRequest()
    • Method Detail

      • getSearchAssociatedResourcesDetails

        public SearchAssociatedResourcesDetails getSearchAssociatedResourcesDetails()
        Search Criteria for the listing the monitored resources for given type and compartmentId.
      • 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.

      • 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.

      • 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.

      • getOpcRetryToken

        public String getOpcRetryToken()
        A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.

        Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.

      • getIfMatch

        public String getIfMatch()
        For optimistic concurrency control.

        In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.

      • 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.