@Generated(value="OracleSDKGenerator", comments="API Version: 20210330") public class ListMonitoredResourceTypesRequest extends BmcRequest<Void>
Example: Click here to see how to use ListMonitoredResourceTypesRequest.
Modifier and Type | Class and Description |
---|---|
static class |
ListMonitoredResourceTypesRequest.Builder |
static class |
ListMonitoredResourceTypesRequest.SortBy
The field to sort by.
|
Constructor and Description |
---|
ListMonitoredResourceTypesRequest() |
Modifier and Type | Method and Description |
---|---|
static ListMonitoredResourceTypesRequest.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’.
|
String |
getCompartmentId()
The OCID of the
tenancy for which monitored resource types should be listed.
|
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.
|
Boolean |
getIsExcludeSystemTypes()
A filter to exclude system resource types.
|
Integer |
getLimit()
For list pagination.
|
String |
getMetricNamespace()
A filter to return monitored resource types that has the matching namespace.
|
String |
getName()
A filter to return monitored resource types that match exactly with the resource type name
given.
|
String |
getOpcRequestId()
Unique Oracle-assigned identifier for the request.
|
String |
getPage()
For list pagination.
|
ListMonitoredResourceTypesRequest.SortBy |
getSortBy()
The field to sort by.
|
SortOrder |
getSortOrder()
The sort order to use, either ascending (
ASC ) or descending (DESC ). |
ResourceTypeLifecycleState |
getStatus()
A filter to return only resources that matches with lifecycleState given.
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
ListMonitoredResourceTypesRequest.Builder |
toBuilder()
Return an instance of
ListMonitoredResourceTypesRequest.Builder that allows you to modify request properties. |
String |
toString() |
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
public String getCompartmentId()
The OCID of the tenancy for which monitored resource types should be listed.
public String getName()
A filter to return monitored resource types that match exactly with the resource type name given.
public ResourceTypeLifecycleState getStatus()
A filter to return only resources that matches with lifecycleState given.
public Boolean getIsExcludeSystemTypes()
A filter to exclude system resource types. If set to true, system resource types will be excluded.
public String getMetricNamespace()
A filter to return monitored resource types that has the matching namespace.
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.
public SortOrder getSortOrder()
The sort order to use, either ascending (ASC
) or descending (DESC
).
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.
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.
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.
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.
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.
public ListMonitoredResourceTypesRequest.Builder toBuilder()
Return an instance of ListMonitoredResourceTypesRequest.Builder
that allows you to modify request properties.
ListMonitoredResourceTypesRequest.Builder
that allows you to modify request properties.public static ListMonitoredResourceTypesRequest.Builder builder()
Return a new builder for this request object.
public boolean equals(Object o)
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
equals
in class BmcRequest<Void>
public int hashCode()
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
hashCode
in class BmcRequest<Void>
Copyright © 2016–2025. All rights reserved.