Class ListLogAnalyticsEntitiesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.requests.ListLogAnalyticsEntitiesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListLogAnalyticsEntitiesRequest,Void>
- Enclosing class:
- ListLogAnalyticsEntitiesRequest
public static class ListLogAnalyticsEntitiesRequest.Builder extends Object implements BmcRequest.Builder<ListLogAnalyticsEntitiesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListLogAnalyticsEntitiesRequest
build()
Build the instance of ListLogAnalyticsEntitiesRequest as configured by this builderListLogAnalyticsEntitiesRequest
buildWithoutInvocationCallback()
Build the instance of ListLogAnalyticsEntitiesRequest as configured by this builderListLogAnalyticsEntitiesRequest.Builder
cloudResourceId(String cloudResourceId)
A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.ListLogAnalyticsEntitiesRequest.Builder
compartmentId(String compartmentId)
The ID of the compartment in which to list resources.ListLogAnalyticsEntitiesRequest.Builder
copy(ListLogAnalyticsEntitiesRequest o)
Copy method to populate the builder with values from the given instance.ListLogAnalyticsEntitiesRequest.Builder
creationSourceDetails(String creationSourceDetails)
A filter to return only log analytics entities whose auto-creation source details contains the specified string.ListLogAnalyticsEntitiesRequest.Builder
creationSourceType(CreationSourceType singularValue)
Singular setter.ListLogAnalyticsEntitiesRequest.Builder
creationSourceType(List<CreationSourceType> creationSourceType)
A filter to return only those log analytics entities with the specified auto-creation source.ListLogAnalyticsEntitiesRequest.Builder
entityTypeName(String singularValue)
Singular setter.ListLogAnalyticsEntitiesRequest.Builder
entityTypeName(List<String> entityTypeName)
A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list.ListLogAnalyticsEntitiesRequest.Builder
hostname(String hostname)
A filter to return only log analytics entities whose hostname matches the entire hostname given.ListLogAnalyticsEntitiesRequest.Builder
hostnameContains(String hostnameContains)
A filter to return only log analytics entities whose hostname contains the substring given.ListLogAnalyticsEntitiesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListLogAnalyticsEntitiesRequest.Builder
isManagementAgentIdNull(ListLogAnalyticsEntitiesRequest.IsManagementAgentIdNull isManagementAgentIdNull)
A filter to return only those log analytics entities whose managementAgentId is null or is not null.ListLogAnalyticsEntitiesRequest.Builder
lifecycleDetailsContains(String lifecycleDetailsContains)
A filter to return only log analytics entities whose lifecycleDetails contains the specified string.ListLogAnalyticsEntitiesRequest.Builder
lifecycleState(EntityLifecycleStates lifecycleState)
A filter to return only those log analytics entities with the specified lifecycle state.ListLogAnalyticsEntitiesRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListLogAnalyticsEntitiesRequest.Builder
metadataEquals(String singularValue)
Singular setter.ListLogAnalyticsEntitiesRequest.Builder
metadataEquals(List<String> metadataEquals)
A filter to return only log analytics entities whose metadata name, value and type matches the specified string.ListLogAnalyticsEntitiesRequest.Builder
name(String name)
A filter to return only log analytics entities whose name matches the entire name given.ListLogAnalyticsEntitiesRequest.Builder
nameContains(String nameContains)
A filter to return only log analytics entities whose name contains the name given.ListLogAnalyticsEntitiesRequest.Builder
namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.ListLogAnalyticsEntitiesRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListLogAnalyticsEntitiesRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListLogAnalyticsEntitiesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListLogAnalyticsEntitiesRequest.Builder
sortBy(ListLogAnalyticsEntitiesRequest.SortBy sortBy)
The field to sort entities by.ListLogAnalyticsEntitiesRequest.Builder
sortOrder(ListLogAnalyticsEntitiesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).ListLogAnalyticsEntitiesRequest.Builder
sourceId(String sourceId)
A filter to return only log analytics entities whose sourceId matches the sourceId given.-
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
-
namespaceName
public ListLogAnalyticsEntitiesRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.- Parameters:
namespaceName
- the value to set- Returns:
- this builder instance
-
compartmentId
public ListLogAnalyticsEntitiesRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
name
public ListLogAnalyticsEntitiesRequest.Builder name(String name)
A filter to return only log analytics entities whose name matches the entire name given.The match is case-insensitive.
- Parameters:
name
- the value to set- Returns:
- this builder instance
-
nameContains
public ListLogAnalyticsEntitiesRequest.Builder nameContains(String nameContains)
A filter to return only log analytics entities whose name contains the name given.The match is case-insensitive.
- Parameters:
nameContains
- the value to set- Returns:
- this builder instance
-
entityTypeName
public ListLogAnalyticsEntitiesRequest.Builder entityTypeName(List<String> entityTypeName)
A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list.The match is case-insensitive.
- Parameters:
entityTypeName
- the value to set- Returns:
- this builder instance
-
entityTypeName
public ListLogAnalyticsEntitiesRequest.Builder entityTypeName(String singularValue)
Singular setter.A filter to return only log analytics entities whose entityTypeName matches the entire log analytics entity type name of one of the entityTypeNames given in the list. The match is case-insensitive.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
cloudResourceId
public ListLogAnalyticsEntitiesRequest.Builder cloudResourceId(String cloudResourceId)
A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.- Parameters:
cloudResourceId
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListLogAnalyticsEntitiesRequest.Builder lifecycleState(EntityLifecycleStates lifecycleState)
A filter to return only those log analytics entities with the specified lifecycle state.The state value is case-insensitive.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
lifecycleDetailsContains
public ListLogAnalyticsEntitiesRequest.Builder lifecycleDetailsContains(String lifecycleDetailsContains)
A filter to return only log analytics entities whose lifecycleDetails contains the specified string.- Parameters:
lifecycleDetailsContains
- the value to set- Returns:
- this builder instance
-
isManagementAgentIdNull
public ListLogAnalyticsEntitiesRequest.Builder isManagementAgentIdNull(ListLogAnalyticsEntitiesRequest.IsManagementAgentIdNull isManagementAgentIdNull)
A filter to return only those log analytics entities whose managementAgentId is null or is not null.- Parameters:
isManagementAgentIdNull
- the value to set- Returns:
- this builder instance
-
hostname
public ListLogAnalyticsEntitiesRequest.Builder hostname(String hostname)
A filter to return only log analytics entities whose hostname matches the entire hostname given.- Parameters:
hostname
- the value to set- Returns:
- this builder instance
-
hostnameContains
public ListLogAnalyticsEntitiesRequest.Builder hostnameContains(String hostnameContains)
A filter to return only log analytics entities whose hostname contains the substring given.The match is case-insensitive.
- Parameters:
hostnameContains
- the value to set- Returns:
- this builder instance
-
sourceId
public ListLogAnalyticsEntitiesRequest.Builder sourceId(String sourceId)
A filter to return only log analytics entities whose sourceId matches the sourceId given.- Parameters:
sourceId
- the value to set- Returns:
- this builder instance
-
creationSourceType
public ListLogAnalyticsEntitiesRequest.Builder creationSourceType(List<CreationSourceType> creationSourceType)
A filter to return only those log analytics entities with the specified auto-creation source.- Parameters:
creationSourceType
- the value to set- Returns:
- this builder instance
-
creationSourceType
public ListLogAnalyticsEntitiesRequest.Builder creationSourceType(CreationSourceType singularValue)
Singular setter.A filter to return only those log analytics entities with the specified auto-creation source.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
creationSourceDetails
public ListLogAnalyticsEntitiesRequest.Builder creationSourceDetails(String creationSourceDetails)
A filter to return only log analytics entities whose auto-creation source details contains the specified string.- Parameters:
creationSourceDetails
- the value to set- Returns:
- this builder instance
-
limit
public ListLogAnalyticsEntitiesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListLogAnalyticsEntitiesRequest.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
-
sortOrder
public ListLogAnalyticsEntitiesRequest.Builder sortOrder(ListLogAnalyticsEntitiesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListLogAnalyticsEntitiesRequest.Builder sortBy(ListLogAnalyticsEntitiesRequest.SortBy sortBy)
The field to sort entities by.Only one sort order may be provided. Default order for timeCreated and timeUpdated is descending. Default order for entity name is ascending. If no value is specified timeCreated is default.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListLogAnalyticsEntitiesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
metadataEquals
public ListLogAnalyticsEntitiesRequest.Builder metadataEquals(List<String> metadataEquals)
A filter to return only log analytics entities whose metadata name, value and type matches the specified string.Each item in the array has the format “{name}:{value}:{type}”. All inputs are case-insensitive.
- Parameters:
metadataEquals
- the value to set- Returns:
- this builder instance
-
metadataEquals
public ListLogAnalyticsEntitiesRequest.Builder metadataEquals(String singularValue)
Singular setter.A filter to return only log analytics entities whose metadata name, value and type matches the specified string. Each item in the array has the format “{name}:{value}:{type}”. All inputs are case-insensitive.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
invocationCallback
public ListLogAnalyticsEntitiesRequest.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 ListLogAnalyticsEntitiesRequest.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 ListLogAnalyticsEntitiesRequest.Builder copy(ListLogAnalyticsEntitiesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListLogAnalyticsEntitiesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListLogAnalyticsEntitiesRequest build()
Build the instance of ListLogAnalyticsEntitiesRequest 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:
build
in interfaceBmcRequest.Builder<ListLogAnalyticsEntitiesRequest,Void>
- Returns:
- instance of ListLogAnalyticsEntitiesRequest
-
buildWithoutInvocationCallback
public ListLogAnalyticsEntitiesRequest buildWithoutInvocationCallback()
Build the instance of ListLogAnalyticsEntitiesRequest 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 ListLogAnalyticsEntitiesRequest
-
-