public static class ListAlertLogsRequest.Builder extends Object implements BmcRequest.Builder<ListAlertLogsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListAlertLogsRequest |
build()
Build the instance of ListAlertLogsRequest as configured by this builder
|
ListAlertLogsRequest |
buildWithoutInvocationCallback()
Build the instance of ListAlertLogsRequest as configured by this builder
|
ListAlertLogsRequest.Builder |
copy(ListAlertLogsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListAlertLogsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListAlertLogsRequest.Builder |
isRegularExpression(Boolean isRegularExpression)
The flag to indicate whether the search text is regular expression or not.
|
ListAlertLogsRequest.Builder |
levelFilter(ListAlertLogsRequest.LevelFilter levelFilter)
The optional parameter to filter the alert logs by log level.
|
ListAlertLogsRequest.Builder |
limit(Integer limit)
The maximum number of records returned in the paginated response.
|
ListAlertLogsRequest.Builder |
logSearchText(String logSearchText)
The optional query parameter to filter the attention or alert logs by search text.
|
ListAlertLogsRequest.Builder |
managedDatabaseId(String managedDatabaseId)
The OCID of the
Managed Database.
|
ListAlertLogsRequest.Builder |
opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.
|
ListAlertLogsRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListAlertLogsRequest.Builder |
page(String page)
The page token representing the page from where the next set of paginated results are
retrieved.
|
ListAlertLogsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListAlertLogsRequest.Builder |
sortBy(ListAlertLogsRequest.SortBy sortBy)
The possible sortBy values of attention logs.
|
ListAlertLogsRequest.Builder |
sortOrder(SortOrders sortOrder)
The option to sort information in ascending (‘ASC’) or descending
(‘DESC’) order.
|
ListAlertLogsRequest.Builder |
timeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)
The optional greater than or equal to timestamp to filter the logs.
|
ListAlertLogsRequest.Builder |
timeLessThanOrEqualTo(Date timeLessThanOrEqualTo)
The optional less than or equal to timestamp to filter the logs.
|
ListAlertLogsRequest.Builder |
typeFilter(ListAlertLogsRequest.TypeFilter typeFilter)
The optional parameter to filter the attention or alert logs by type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListAlertLogsRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.
managedDatabaseId
- the value to setpublic ListAlertLogsRequest.Builder timeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)
The optional greater than or equal to timestamp to filter the logs.
timeGreaterThanOrEqualTo
- the value to setpublic ListAlertLogsRequest.Builder timeLessThanOrEqualTo(Date timeLessThanOrEqualTo)
The optional less than or equal to timestamp to filter the logs.
timeLessThanOrEqualTo
- the value to setpublic ListAlertLogsRequest.Builder levelFilter(ListAlertLogsRequest.LevelFilter levelFilter)
The optional parameter to filter the alert logs by log level.
levelFilter
- the value to setpublic ListAlertLogsRequest.Builder typeFilter(ListAlertLogsRequest.TypeFilter typeFilter)
The optional parameter to filter the attention or alert logs by type.
typeFilter
- the value to setpublic ListAlertLogsRequest.Builder logSearchText(String logSearchText)
The optional query parameter to filter the attention or alert logs by search text.
logSearchText
- the value to setpublic ListAlertLogsRequest.Builder isRegularExpression(Boolean isRegularExpression)
The flag to indicate whether the search text is regular expression or not.
isRegularExpression
- the value to setpublic ListAlertLogsRequest.Builder sortBy(ListAlertLogsRequest.SortBy sortBy)
The possible sortBy values of attention logs.
sortBy
- the value to setpublic ListAlertLogsRequest.Builder sortOrder(SortOrders sortOrder)
The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending order is the default order.
sortOrder
- the value to setpublic ListAlertLogsRequest.Builder page(String page)
The page token representing the page from where the next set of paginated results are retrieved. This is usually retrieved from a previous list call.
page
- the value to setpublic ListAlertLogsRequest.Builder limit(Integer limit)
The maximum number of records returned in the paginated response.
limit
- the value to setpublic ListAlertLogsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic ListAlertLogsRequest.Builder opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.
opcNamedCredentialId
- the value to setpublic ListAlertLogsRequest.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 ListAlertLogsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListAlertLogsRequest.Builder copy(ListAlertLogsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListAlertLogsRequest,Void>
o
- other request from which to copy valuespublic ListAlertLogsRequest build()
Build the instance of ListAlertLogsRequest 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<ListAlertLogsRequest,Void>
public ListAlertLogsRequest buildWithoutInvocationCallback()
Build the instance of ListAlertLogsRequest 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.