Class ListTemplatesRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.loganalytics.requests.ListTemplatesRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListTemplatesRequest,Void>
 - Enclosing class:
- ListTemplatesRequest
 
 public static class ListTemplatesRequest.Builder extends Object implements BmcRequest.Builder<ListTemplatesRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTemplatesRequestbuild()Build the instance of ListTemplatesRequest as configured by this builderListTemplatesRequestbuildWithoutInvocationCallback()Build the instance of ListTemplatesRequest as configured by this builderListTemplatesRequest.BuildercompartmentId(String compartmentId)The ID of the compartment in which to list resources.ListTemplatesRequest.Buildercopy(ListTemplatesRequest o)Copy method to populate the builder with values from the given instance.ListTemplatesRequest.Builderfilter(String filter)filterListTemplatesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListTemplatesRequest.BuilderlifecycleState(ConfigLifecycleState lifecycleState)The template lifecycle state used for filtering.ListTemplatesRequest.Builderlimit(Integer limit)The maximum number of items to return.ListTemplatesRequest.Buildername(String name)The template name used for filtering.ListTemplatesRequest.BuildernamespaceName(String namespaceName)The Logging Analytics namespace used for the request.ListTemplatesRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListTemplatesRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListTemplatesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListTemplatesRequest.BuildersortBy(ListTemplatesRequest.SortBy sortBy)The attribute used to sort the returned templatesListTemplatesRequest.BuildersortOrder(ListTemplatesRequest.SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).ListTemplatesRequest.BuildertemplateDisplayText(String templateDisplayText)The template display text used for filtering.ListTemplatesRequest.Buildertype(String type)The template type used for filtering.- 
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- 
namespaceNamepublic ListTemplatesRequest.Builder namespaceName(String namespaceName) The Logging Analytics namespace used for the request.- Parameters:
- namespaceName- the value to set
- Returns:
- this builder instance
 
 - 
compartmentIdpublic ListTemplatesRequest.Builder compartmentId(String compartmentId) The ID of the compartment in which to list resources.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
typepublic ListTemplatesRequest.Builder type(String type) The template type used for filtering.Only templates of the specified type will be returned. - Parameters:
- type- the value to set
- Returns:
- this builder instance
 
 - 
namepublic ListTemplatesRequest.Builder name(String name) The template name used for filtering.- Parameters:
- name- the value to set
- Returns:
- this builder instance
 
 - 
templateDisplayTextpublic ListTemplatesRequest.Builder templateDisplayText(String templateDisplayText) The template display text used for filtering.Only templates with the specified name or description will be returned. - Parameters:
- templateDisplayText- the value to set
- Returns:
- this builder instance
 
 - 
lifecycleStatepublic ListTemplatesRequest.Builder lifecycleState(ConfigLifecycleState lifecycleState) The template lifecycle state used for filtering.Currently supported values are ACTIVE and DELETED. - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder instance
 
 - 
filterpublic ListTemplatesRequest.Builder filter(String filter) filter- Parameters:
- filter- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListTemplatesRequest.Builder limit(Integer limit) The maximum number of items to return.- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListTemplatesRequest.Builder page(String page) The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call. - Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListTemplatesRequest.Builder sortOrder(ListTemplatesRequest.SortOrder sortOrder) The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListTemplatesRequest.Builder sortBy(ListTemplatesRequest.SortBy sortBy) The attribute used to sort the returned templates- Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListTemplatesRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListTemplatesRequest.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 ListTemplatesRequest.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 ListTemplatesRequest.Builder copy(ListTemplatesRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListTemplatesRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListTemplatesRequest build() Build the instance of ListTemplatesRequest 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<ListTemplatesRequest,Void>
- Returns:
- instance of ListTemplatesRequest
 
 - 
buildWithoutInvocationCallbackpublic ListTemplatesRequest buildWithoutInvocationCallback() Build the instance of ListTemplatesRequest 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 ListTemplatesRequest
 
 
- 
 
-