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 classListMonitoringTemplatesRequest.Builderstatic classListMonitoringTemplatesRequest.SortByThe 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.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetCompartmentId()The ID of the compartment in which data is listed.StringgetDisplayName()A filter to return monitoring template based on name.MonitoringTemplateLifeCycleStatesgetLifecycleState()A filter to return monitoring template based on Lifecycle StateIntegergetLimit()For list pagination.List<String>getMetricName()metricName filter.StringgetMonitoringTemplateId()A filter to return monitoring template based on input monitoringTemplateIdList<String>getNamespace()namespace filter.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.StringgetPage()For list pagination.List<String>getResourceTypes()Multiple resource types filter.ListMonitoringTemplatesRequest.SortBygetSortBy()The field to sort by.SortOrdergetSortOrder()The sort order to use, either ascending (ASC) or descending (DESC).MonitoringTemplateLifeCycleDetailsgetStatus()A filter to return monitoring template based on input statusinthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListMonitoringTemplatesRequest.BuildertoBuilder()Return an instance ofListMonitoringTemplatesRequest.Builderthat allows you to modify request properties.StringtoString()-
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.Builderthat allows you to modify request properties.- Returns:
- instance of
ListMonitoringTemplatesRequest.Builderthat 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:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-