Class SearchAssociatedResourcesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<SearchAssociatedResourcesDetails>
-
- com.oracle.bmc.stackmonitoring.requests.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SearchAssociatedResourcesRequest.Builder
-
Constructor Summary
Constructors Constructor Description SearchAssociatedResourcesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchAssociatedResourcesRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.SearchAssociatedResourcesDetails
getBody$()
Alternative accessor for the body parameter.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.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.String
getIfMatch()
For optimistic concurrency control.Integer
getLimit()
For list pagination.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.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.String
getPage()
For list pagination.SearchAssociatedResourcesDetails
getSearchAssociatedResourcesDetails()
Search Criteria for the listing the monitored resources for given type and compartmentId.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.SearchAssociatedResourcesRequest.Builder
toBuilder()
Return an instance ofSearchAssociatedResourcesRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
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.
-
getBody$
public SearchAssociatedResourcesDetails getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$
in classBmcRequest<SearchAssociatedResourcesDetails>
- Returns:
- body parameter
-
toBuilder
public SearchAssociatedResourcesRequest.Builder toBuilder()
Return an instance ofSearchAssociatedResourcesRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
SearchAssociatedResourcesRequest.Builder
that allows you to modify request properties.
-
builder
public static SearchAssociatedResourcesRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
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 classBmcRequest<SearchAssociatedResourcesDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<SearchAssociatedResourcesDetails>
-
-