public static class ListMonitorsRequest.Builder extends Object implements BmcRequest.Builder<ListMonitorsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListMonitorsRequest.Builder |
apmDomainId(String apmDomainId)
The APM domain ID the request is intended for.
|
ListMonitorsRequest |
build()
Build the instance of ListMonitorsRequest as configured by this builder
|
ListMonitorsRequest |
buildWithoutInvocationCallback()
Build the instance of ListMonitorsRequest as configured by this builder
|
ListMonitorsRequest.Builder |
copy(ListMonitorsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListMonitorsRequest.Builder |
displayName(String displayName)
A filter to return only the resources that match the entire display name.
|
ListMonitorsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListMonitorsRequest.Builder |
isMaintenanceWindowActive(Boolean isMaintenanceWindowActive)
A filter to return the monitors whose maintenance window is currently active.
|
ListMonitorsRequest.Builder |
isMaintenanceWindowSet(Boolean isMaintenanceWindowSet)
A filter to return the monitors whose maintenance window is set.
|
ListMonitorsRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListMonitorsRequest.Builder |
monitorType(String monitorType)
A filter to return only monitors that match the given monitor type.
|
ListMonitorsRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
ListMonitorsRequest.Builder |
page(String page)
The maximum number of results per page, or items to return in a paginated “List” call.
|
ListMonitorsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListMonitorsRequest.Builder |
scriptId(String scriptId)
A filter to return only monitors using scriptId.
|
ListMonitorsRequest.Builder |
sortBy(ListMonitorsRequest.SortBy sortBy)
The field to sort by.
|
ListMonitorsRequest.Builder |
sortOrder(SortOrders sortOrder)
The sort order to use, either ascending (
ASC ) or descending (DESC ). |
ListMonitorsRequest.Builder |
status(MonitorStatus status)
A filter to return only monitors that match the status given.
|
ListMonitorsRequest.Builder |
vantagePoint(String vantagePoint)
The name of the public or dedicated vantage point.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListMonitorsRequest.Builder apmDomainId(String apmDomainId)
The APM domain ID the request is intended for.
apmDomainId
- the value to setpublic ListMonitorsRequest.Builder displayName(String displayName)
A filter to return only the resources that match the entire display name.
displayName
- the value to setpublic ListMonitorsRequest.Builder scriptId(String scriptId)
A filter to return only monitors using scriptId.
scriptId
- the value to setpublic ListMonitorsRequest.Builder vantagePoint(String vantagePoint)
The name of the public or dedicated vantage point.
vantagePoint
- the value to setpublic ListMonitorsRequest.Builder monitorType(String monitorType)
A filter to return only monitors that match the given monitor type. Supported values are SCRIPTED_BROWSER, BROWSER, SCRIPTED_REST, REST, NETWORK, DNS, FTP and SQL.
monitorType
- the value to setpublic ListMonitorsRequest.Builder status(MonitorStatus status)
A filter to return only monitors that match the status given.
status
- the value to setpublic ListMonitorsRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic ListMonitorsRequest.Builder page(String page)
The maximum number of results per page, or items to return in a paginated “List” call. For information on how pagination works, see List Pagination.
Example: 50
page
- the value to setpublic ListMonitorsRequest.Builder isMaintenanceWindowActive(Boolean isMaintenanceWindowActive)
A filter to return the monitors whose maintenance window is currently active.
isMaintenanceWindowActive
- the value to setpublic ListMonitorsRequest.Builder isMaintenanceWindowSet(Boolean isMaintenanceWindowSet)
A filter to return the monitors whose maintenance window is set.
isMaintenanceWindowSet
- the value to setpublic ListMonitorsRequest.Builder sortOrder(SortOrders sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
Default sort order is ascending.
sortOrder
- the value to setpublic ListMonitorsRequest.Builder sortBy(ListMonitorsRequest.SortBy sortBy)
The field to sort by. Only one sort order may be provided. Default order of displayName is ascending. Default order of timeCreated and timeUpdated is descending. The displayName sort by is case insensitive.
sortBy
- the value to setpublic ListMonitorsRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic ListMonitorsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListMonitorsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListMonitorsRequest.Builder copy(ListMonitorsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListMonitorsRequest,Void>
o
- other request from which to copy valuespublic ListMonitorsRequest build()
Build the instance of ListMonitorsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListMonitorsRequest,Void>
public ListMonitorsRequest buildWithoutInvocationCallback()
Build the instance of ListMonitorsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.