Class ListMonitoredResourceTypesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.stackmonitoring.requests.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListMonitoredResourceTypesRequest.Builder
static class
ListMonitoredResourceTypesRequest.SortBy
The field to sort by.
-
Constructor Summary
Constructors Constructor Description ListMonitoredResourceTypesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.ResourceCategory
getResourceCategory()
A filter to return only resources with matching resource category.ListMonitoredResourceTypesRequest.SortBy
getSortBy()
The field to sort by.SortOrder
getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).SourceType
getSourceType()
A filter to return only resources with matching source type.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 ofListMonitoredResourceTypesRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
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.
-
toBuilder
public ListMonitoredResourceTypesRequest.Builder toBuilder()
Return an instance ofListMonitoredResourceTypesRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListMonitoredResourceTypesRequest.Builder
that allows you to modify request properties.
-
builder
public static ListMonitoredResourceTypesRequest.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<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-