Class ListAlertLogsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.requests.ListAlertLogsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListAlertLogsRequest,Void>
- Enclosing class:
- ListAlertLogsRequest
public static class ListAlertLogsRequest.Builder extends Object implements BmcRequest.Builder<ListAlertLogsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAlertLogsRequestbuild()Build the instance of ListAlertLogsRequest as configured by this builderListAlertLogsRequestbuildWithoutInvocationCallback()Build the instance of ListAlertLogsRequest as configured by this builderListAlertLogsRequest.Buildercopy(ListAlertLogsRequest o)Copy method to populate the builder with values from the given instance.ListAlertLogsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListAlertLogsRequest.BuilderisRegularExpression(Boolean isRegularExpression)The flag to indicate whether the search text is regular expression or not.ListAlertLogsRequest.BuilderlevelFilter(ListAlertLogsRequest.LevelFilter levelFilter)The optional parameter to filter the alert logs by log level.ListAlertLogsRequest.Builderlimit(Integer limit)The maximum number of records returned in the paginated response.ListAlertLogsRequest.BuilderlogSearchText(String logSearchText)The optional query parameter to filter the attention or alert logs by search text.ListAlertLogsRequest.BuildermanagedDatabaseId(String managedDatabaseId)The OCID of the Managed Database.ListAlertLogsRequest.BuilderopcNamedCredentialId(String opcNamedCredentialId)The OCID of the Named Credential.ListAlertLogsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListAlertLogsRequest.Builderpage(String page)The page token representing the page from where the next set of paginated results are retrieved.ListAlertLogsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListAlertLogsRequest.BuildersortBy(ListAlertLogsRequest.SortBy sortBy)The possible sortBy values of attention logs.ListAlertLogsRequest.BuildersortOrder(SortOrders sortOrder)The option to sort information in ascending (\u2018ASC\u2019) or descending (\u2018DESC\u2019) order.ListAlertLogsRequest.BuildertimeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)The optional greater than or equal to timestamp to filter the logs.ListAlertLogsRequest.BuildertimeLessThanOrEqualTo(Date timeLessThanOrEqualTo)The optional less than or equal to timestamp to filter the logs.ListAlertLogsRequest.BuildertypeFilter(ListAlertLogsRequest.TypeFilter typeFilter)The optional parameter to filter the attention or alert logs by type.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
managedDatabaseId
public ListAlertLogsRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.- Parameters:
managedDatabaseId- the value to set- Returns:
- this builder instance
-
timeGreaterThanOrEqualTo
public ListAlertLogsRequest.Builder timeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)
The optional greater than or equal to timestamp to filter the logs.- Parameters:
timeGreaterThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeLessThanOrEqualTo
public ListAlertLogsRequest.Builder timeLessThanOrEqualTo(Date timeLessThanOrEqualTo)
The optional less than or equal to timestamp to filter the logs.- Parameters:
timeLessThanOrEqualTo- the value to set- Returns:
- this builder instance
-
levelFilter
public ListAlertLogsRequest.Builder levelFilter(ListAlertLogsRequest.LevelFilter levelFilter)
The optional parameter to filter the alert logs by log level.- Parameters:
levelFilter- the value to set- Returns:
- this builder instance
-
typeFilter
public ListAlertLogsRequest.Builder typeFilter(ListAlertLogsRequest.TypeFilter typeFilter)
The optional parameter to filter the attention or alert logs by type.- Parameters:
typeFilter- the value to set- Returns:
- this builder instance
-
logSearchText
public ListAlertLogsRequest.Builder logSearchText(String logSearchText)
The optional query parameter to filter the attention or alert logs by search text.- Parameters:
logSearchText- the value to set- Returns:
- this builder instance
-
isRegularExpression
public ListAlertLogsRequest.Builder isRegularExpression(Boolean isRegularExpression)
The flag to indicate whether the search text is regular expression or not.- Parameters:
isRegularExpression- the value to set- Returns:
- this builder instance
-
sortBy
public ListAlertLogsRequest.Builder sortBy(ListAlertLogsRequest.SortBy sortBy)
The possible sortBy values of attention logs.- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListAlertLogsRequest.Builder sortOrder(SortOrders sortOrder)
The option to sort information in ascending (\u2018ASC\u2019) or descending (\u2018DESC\u2019) order.Ascending order is the default order.
- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
page
public 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.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
limit
public ListAlertLogsRequest.Builder limit(Integer limit)
The maximum number of records returned in the paginated response.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListAlertLogsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
opcNamedCredentialId
public ListAlertLogsRequest.Builder opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.- Parameters:
opcNamedCredentialId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListAlertLogsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public ListAlertLogsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public ListAlertLogsRequest.Builder copy(ListAlertLogsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListAlertLogsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListAlertLogsRequest build()
Build the instance of ListAlertLogsRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance.
- Specified by:
buildin interfaceBmcRequest.Builder<ListAlertLogsRequest,Void>- Returns:
- instance of ListAlertLogsRequest
-
buildWithoutInvocationCallback
public ListAlertLogsRequest buildWithoutInvocationCallback()
Build the instance of ListAlertLogsRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of ListAlertLogsRequest
-
-