Class ListAttentionLogsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.requests.ListAttentionLogsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListAttentionLogsRequest,Void>
- Enclosing class:
- ListAttentionLogsRequest
public static class ListAttentionLogsRequest.Builder extends Object implements BmcRequest.Builder<ListAttentionLogsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAttentionLogsRequestbuild()Build the instance of ListAttentionLogsRequest as configured by this builderListAttentionLogsRequestbuildWithoutInvocationCallback()Build the instance of ListAttentionLogsRequest as configured by this builderListAttentionLogsRequest.Buildercopy(ListAttentionLogsRequest o)Copy method to populate the builder with values from the given instance.ListAttentionLogsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListAttentionLogsRequest.BuilderisRegularExpression(Boolean isRegularExpression)The flag to indicate whether the search text is regular expression or not.ListAttentionLogsRequest.Builderlimit(Integer limit)The maximum number of records returned in the paginated response.ListAttentionLogsRequest.BuilderlogSearchText(String logSearchText)The optional query parameter to filter the attention or alert logs by search text.ListAttentionLogsRequest.BuildermanagedDatabaseId(String managedDatabaseId)The OCID of the Managed Database.ListAttentionLogsRequest.BuilderopcNamedCredentialId(String opcNamedCredentialId)The OCID of the Named Credential.ListAttentionLogsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListAttentionLogsRequest.Builderpage(String page)The page token representing the page from where the next set of paginated results are retrieved.ListAttentionLogsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListAttentionLogsRequest.BuildersortBy(ListAttentionLogsRequest.SortBy sortBy)The possible sortBy values of attention logs.ListAttentionLogsRequest.BuildersortOrder(SortOrders sortOrder)The option to sort information in ascending (\u2018ASC\u2019) or descending (\u2018DESC\u2019) order.ListAttentionLogsRequest.BuildertimeGreaterThanOrEqualTo(Date timeGreaterThanOrEqualTo)The optional greater than or equal to timestamp to filter the logs.ListAttentionLogsRequest.BuildertimeLessThanOrEqualTo(Date timeLessThanOrEqualTo)The optional less than or equal to timestamp to filter the logs.ListAttentionLogsRequest.BuildertypeFilter(ListAttentionLogsRequest.TypeFilter typeFilter)The optional parameter to filter the attention or alert logs by type.ListAttentionLogsRequest.BuilderurgencyFilter(ListAttentionLogsRequest.UrgencyFilter urgencyFilter)The optional parameter to filter the attention logs by urgency.-
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 ListAttentionLogsRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.- Parameters:
managedDatabaseId- the value to set- Returns:
- this builder instance
-
timeGreaterThanOrEqualTo
public ListAttentionLogsRequest.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 ListAttentionLogsRequest.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
-
urgencyFilter
public ListAttentionLogsRequest.Builder urgencyFilter(ListAttentionLogsRequest.UrgencyFilter urgencyFilter)
The optional parameter to filter the attention logs by urgency.- Parameters:
urgencyFilter- the value to set- Returns:
- this builder instance
-
typeFilter
public ListAttentionLogsRequest.Builder typeFilter(ListAttentionLogsRequest.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 ListAttentionLogsRequest.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 ListAttentionLogsRequest.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 ListAttentionLogsRequest.Builder sortBy(ListAttentionLogsRequest.SortBy sortBy)
The possible sortBy values of attention logs.- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListAttentionLogsRequest.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 ListAttentionLogsRequest.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 ListAttentionLogsRequest.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 ListAttentionLogsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
opcNamedCredentialId
public ListAttentionLogsRequest.Builder opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.- Parameters:
opcNamedCredentialId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListAttentionLogsRequest.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 ListAttentionLogsRequest.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 ListAttentionLogsRequest.Builder copy(ListAttentionLogsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListAttentionLogsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListAttentionLogsRequest build()
Build the instance of ListAttentionLogsRequest 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<ListAttentionLogsRequest,Void>- Returns:
- instance of ListAttentionLogsRequest
-
buildWithoutInvocationCallback
public ListAttentionLogsRequest buildWithoutInvocationCallback()
Build the instance of ListAttentionLogsRequest 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 ListAttentionLogsRequest
-
-