Package com.oracle.bmc.logging.requests
Class ListLogsRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.logging.requests.ListLogsRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListLogsRequest,Void>
 - Enclosing class:
- ListLogsRequest
 
 public static class ListLogsRequest.Builder extends Object implements BmcRequest.Builder<ListLogsRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListLogsRequestbuild()Build the instance of ListLogsRequest as configured by this builderListLogsRequestbuildWithoutInvocationCallback()Build the instance of ListLogsRequest as configured by this builderListLogsRequest.Buildercopy(ListLogsRequest o)Copy method to populate the builder with values from the given instance.ListLogsRequest.BuilderdisplayName(String displayName)Resource name.ListLogsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListLogsRequest.BuilderlifecycleState(LogLifecycleState lifecycleState)Lifecycle state of the log objectListLogsRequest.Builderlimit(Integer limit)The maximum number of items to return in a paginated “List” call.ListLogsRequest.BuilderlogGroupId(String logGroupId)OCID of a log group to work with.ListLogsRequest.BuilderlogType(ListLogsRequest.LogType logType)The logType that the log object is for, whether custom or service.ListLogsRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListLogsRequest.Builderpage(String page)For list pagination.ListLogsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListLogsRequest.BuildersortBy(ListLogsRequest.SortBy sortBy)The field to sort by (one column only).ListLogsRequest.BuildersortOrder(ListLogsRequest.SortOrder sortOrder)The sort order to use, whether ‘asc’ or ‘desc’.ListLogsRequest.BuildersourceResource(String sourceResource)Log object resource, which is a field of LogSummary.Configuration.Source.ListLogsRequest.BuildersourceService(String sourceService)Service that created the log object, which is a field of LogSummary.Configuration.Source.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
logGroupIdpublic ListLogsRequest.Builder logGroupId(String logGroupId) OCID of a log group to work with.- Parameters:
- logGroupId- the value to set
- Returns:
- this builder instance
 
 - 
logTypepublic ListLogsRequest.Builder logType(ListLogsRequest.LogType logType) The logType that the log object is for, whether custom or service.- Parameters:
- logType- the value to set
- Returns:
- this builder instance
 
 - 
sourceServicepublic ListLogsRequest.Builder sourceService(String sourceService) Service that created the log object, which is a field of LogSummary.Configuration.Source.- Parameters:
- sourceService- the value to set
- Returns:
- this builder instance
 
 - 
sourceResourcepublic ListLogsRequest.Builder sourceResource(String sourceResource) Log object resource, which is a field of LogSummary.Configuration.Source.- Parameters:
- sourceResource- the value to set
- Returns:
- this builder instance
 
 - 
displayNamepublic ListLogsRequest.Builder displayName(String displayName) Resource name.- Parameters:
- displayName- the value to set
- Returns:
- this builder instance
 
 - 
lifecycleStatepublic ListLogsRequest.Builder lifecycleState(LogLifecycleState lifecycleState) Lifecycle state of the log object- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListLogsRequest.Builder page(String page) For list pagination.The value of the opc-next-page or opc-previous-page response header from the previous “List” call. For important details about how pagination works, see List Pagination. - Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListLogsRequest.Builder limit(Integer limit) The maximum number of items to return in a paginated “List” call.- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListLogsRequest.Builder sortBy(ListLogsRequest.SortBy sortBy) The field to sort by (one column only).Default sort order is ascending exception of timeCreated and timeLastModified columns (descending). - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListLogsRequest.Builder sortOrder(ListLogsRequest.SortOrder sortOrder) The sort order to use, whether ‘asc’ or ‘desc’.- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListLogsRequest.Builder opcRequestId(String opcRequestId) Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListLogsRequest.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
 
 - 
retryConfigurationpublic ListLogsRequest.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
 
 - 
copypublic ListLogsRequest.Builder copy(ListLogsRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListLogsRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListLogsRequest build() Build the instance of ListLogsRequest 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 interface- BmcRequest.Builder<ListLogsRequest,Void>
- Returns:
- instance of ListLogsRequest
 
 - 
buildWithoutInvocationCallbackpublic ListLogsRequest buildWithoutInvocationCallback() Build the instance of ListLogsRequest 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 ListLogsRequest
 
 
- 
 
-