Class ListMonitoringTemplatesRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.stackmonitoring.requests.ListMonitoringTemplatesRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210330") public class ListMonitoringTemplatesRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/stackmonitoring/ListMonitoringTemplatesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListMonitoringTemplatesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListMonitoringTemplatesRequest.Builder
static class
ListMonitoringTemplatesRequest.SortBy
The field to sort by.
-
Constructor Summary
Constructors Constructor Description ListMonitoringTemplatesRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListMonitoringTemplatesRequest.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 ID of the compartment in which data is listed.String
getDisplayName()
A filter to return monitoring template based on name.MonitoringTemplateLifeCycleStates
getLifecycleState()
A filter to return monitoring template based on Lifecycle StateInteger
getLimit()
For list pagination.List<String>
getMetricName()
metricName filter.String
getMonitoringTemplateId()
A filter to return monitoring template based on input monitoringTemplateIdList<String>
getNamespace()
namespace filter.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.String
getPage()
For list pagination.List<String>
getResourceTypes()
Multiple resource types filter.ListMonitoringTemplatesRequest.SortBy
getSortBy()
The field to sort by.SortOrder
getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).MonitoringTemplateLifeCycleDetails
getStatus()
A filter to return monitoring template based on input statusint
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListMonitoringTemplatesRequest.Builder
toBuilder()
Return an instance ofListMonitoringTemplatesRequest.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
-
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.
-
getCompartmentId
public String getCompartmentId()
The ID of the compartment in which data is listed.
-
getMonitoringTemplateId
public String getMonitoringTemplateId()
A filter to return monitoring template based on input monitoringTemplateId
-
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.
-
getSortOrder
public SortOrder getSortOrder()
The sort order to use, either ascending (ASC) or descending (DESC).
-
getSortBy
public ListMonitoringTemplatesRequest.SortBy getSortBy()
The field to sort by.Only one sort order may be provided. Default order for timeUpdated is descending.
-
getDisplayName
public String getDisplayName()
A filter to return monitoring template based on name.
-
getStatus
public MonitoringTemplateLifeCycleDetails getStatus()
A filter to return monitoring template based on input status
-
getLifecycleState
public MonitoringTemplateLifeCycleStates getLifecycleState()
A filter to return monitoring template based on Lifecycle State
-
toBuilder
public ListMonitoringTemplatesRequest.Builder toBuilder()
Return an instance ofListMonitoringTemplatesRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListMonitoringTemplatesRequest.Builder
that allows you to modify request properties.
-
builder
public static ListMonitoringTemplatesRequest.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>
-
-