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 ListLogAnalyticsEntitiesRequestbuild()Build the instance of ListLogAnalyticsEntitiesRequest as configured by this builderListLogAnalyticsEntitiesRequestbuildWithoutInvocationCallback()Build the instance of ListLogAnalyticsEntitiesRequest as configured by this builderListLogAnalyticsEntitiesRequest.BuildercloudResourceId(String cloudResourceId)A filter to return only log analytics entities whose cloudResourceId matches the cloudResourceId given.ListLogAnalyticsEntitiesRequest.BuildercompartmentId(String compartmentId)The ID of the compartment in which to list resources.ListLogAnalyticsEntitiesRequest.Buildercopy(ListLogAnalyticsEntitiesRequest o)Copy method to populate the builder with values from the given instance.ListLogAnalyticsEntitiesRequest.BuildercreationSourceDetails(String creationSourceDetails)A filter to return only log analytics entities whose auto-creation source details contains the specified string.ListLogAnalyticsEntitiesRequest.BuildercreationSourceType(CreationSourceType singularValue)Singular setter.ListLogAnalyticsEntitiesRequest.BuildercreationSourceType(List<CreationSourceType> creationSourceType)A filter to return only those log analytics entities with the specified auto-creation source.ListLogAnalyticsEntitiesRequest.BuilderdefinedTagEquals(String singularValue)Singular setter.ListLogAnalyticsEntitiesRequest.BuilderdefinedTagEquals(List<String> definedTagEquals)A list of tag filters to apply.ListLogAnalyticsEntitiesRequest.BuilderdefinedTagExists(String singularValue)Singular setter.ListLogAnalyticsEntitiesRequest.BuilderdefinedTagExists(List<String> definedTagExists)A list of tag existence filters to apply.ListLogAnalyticsEntitiesRequest.BuilderentityTypeName(String singularValue)Singular setter.ListLogAnalyticsEntitiesRequest.BuilderentityTypeName(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.BuilderfreeformTagEquals(String singularValue)Singular setter.ListLogAnalyticsEntitiesRequest.BuilderfreeformTagEquals(List<String> freeformTagEquals)A list of tag filters to apply.ListLogAnalyticsEntitiesRequest.BuilderfreeformTagExists(String singularValue)Singular setter.ListLogAnalyticsEntitiesRequest.BuilderfreeformTagExists(List<String> freeformTagExists)A list of tag existence filters to apply.ListLogAnalyticsEntitiesRequest.Builderhostname(String hostname)A filter to return only log analytics entities whose hostname matches the entire hostname given.ListLogAnalyticsEntitiesRequest.BuilderhostnameContains(String hostnameContains)A filter to return only log analytics entities whose hostname contains the substring given.ListLogAnalyticsEntitiesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListLogAnalyticsEntitiesRequest.BuilderisManagementAgentIdNull(ListLogAnalyticsEntitiesRequest.IsManagementAgentIdNull isManagementAgentIdNull)A filter to return only those log analytics entities whose managementAgentId is null or is not null.ListLogAnalyticsEntitiesRequest.BuilderisShowAssociatedSourcesCount(Boolean isShowAssociatedSourcesCount)Option to return count of associated log sources for log analytics entity(s).ListLogAnalyticsEntitiesRequest.BuilderlifecycleDetailsContains(String lifecycleDetailsContains)A filter to return only log analytics entities whose lifecycleDetails contains the specified string.ListLogAnalyticsEntitiesRequest.BuilderlifecycleState(EntityLifecycleStates lifecycleState)A filter to return only those log analytics entities with the specified lifecycle state.ListLogAnalyticsEntitiesRequest.Builderlimit(Integer limit)The maximum number of items to return.ListLogAnalyticsEntitiesRequest.BuildermetadataEquals(String singularValue)Singular setter.ListLogAnalyticsEntitiesRequest.BuildermetadataEquals(List<String> metadataEquals)A filter to return only log analytics entities whose metadata name, value and type matches the specified string.ListLogAnalyticsEntitiesRequest.Buildername(String name)A filter to return only log analytics entities whose name matches the entire name given.ListLogAnalyticsEntitiesRequest.BuildernameContains(String nameContains)A filter to return only log analytics entities whose name contains the name given.ListLogAnalyticsEntitiesRequest.BuildernamespaceName(String namespaceName)The Logging Analytics namespace used for the request.ListLogAnalyticsEntitiesRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListLogAnalyticsEntitiesRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListLogAnalyticsEntitiesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListLogAnalyticsEntitiesRequest.BuildersortBy(ListLogAnalyticsEntitiesRequest.SortBy sortBy)The field to sort entities by.ListLogAnalyticsEntitiesRequest.BuildersortOrder(ListLogAnalyticsEntitiesRequest.SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).ListLogAnalyticsEntitiesRequest.BuildersourceId(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
-
definedTagEquals
public ListLogAnalyticsEntitiesRequest.Builder definedTagEquals(List<String> definedTagEquals)
A list of tag filters to apply.Only entities with a defined tag matching the value will be returned. Each item in the list has the format “{namespace}.{tagName}.{value}”. All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as “OR”. Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as “AND”.
- Parameters:
definedTagEquals- the value to set- Returns:
- this builder instance
-
definedTagEquals
public ListLogAnalyticsEntitiesRequest.Builder definedTagEquals(String singularValue)
Singular setter.A list of tag filters to apply. Only entities with a defined tag matching the value will be returned. Each item in the list has the format “{namespace}.{tagName}.{value}”. All inputs are case-insensitive. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as “OR”. Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as “AND”.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
freeformTagEquals
public ListLogAnalyticsEntitiesRequest.Builder freeformTagEquals(List<String> freeformTagEquals)
A list of tag filters to apply.Only entities with a freeform tag matching the value will be returned. The key for each tag is “{tagName}.{value}”. All inputs are case-insensitive. Multiple values for the same tag name are interpreted as “OR”. Values for different tag names are interpreted as “AND”.
- Parameters:
freeformTagEquals- the value to set- Returns:
- this builder instance
-
freeformTagEquals
public ListLogAnalyticsEntitiesRequest.Builder freeformTagEquals(String singularValue)
Singular setter.A list of tag filters to apply. Only entities with a freeform tag matching the value will be returned. The key for each tag is “{tagName}.{value}”. All inputs are case-insensitive. Multiple values for the same tag name are interpreted as “OR”. Values for different tag names are interpreted as “AND”.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
definedTagExists
public ListLogAnalyticsEntitiesRequest.Builder definedTagExists(List<String> definedTagExists)
A list of tag existence filters to apply.Only entities for which the specified defined tags exist will be returned. Each item in the list has the format “{namespace}.{tagName}.true” (for checking existence of a defined tag) or “{namespace}.true”. All inputs are case-insensitive. Currently, only existence (“true” at the end) is supported. Absence (“false” at the end) is not supported. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as “OR”. Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as “AND”.
- Parameters:
definedTagExists- the value to set- Returns:
- this builder instance
-
definedTagExists
public ListLogAnalyticsEntitiesRequest.Builder definedTagExists(String singularValue)
Singular setter.A list of tag existence filters to apply. Only entities for which the specified defined tags exist will be returned. Each item in the list has the format “{namespace}.{tagName}.true” (for checking existence of a defined tag) or “{namespace}.true”. All inputs are case-insensitive. Currently, only existence (“true” at the end) is supported. Absence (“false” at the end) is not supported. Multiple values for the same key (i.e. same namespace and tag name) are interpreted as “OR”. Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as “AND”.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
freeformTagExists
public ListLogAnalyticsEntitiesRequest.Builder freeformTagExists(List<String> freeformTagExists)
A list of tag existence filters to apply.Only entities for which the specified freeform tags exist the value will be returned. The key for each tag is “{tagName}.true”. All inputs are case-insensitive. Currently, only existence (“true” at the end) is supported. Absence (“false” at the end) is not supported. Multiple values for different tag names are interpreted as “AND”.
- Parameters:
freeformTagExists- the value to set- Returns:
- this builder instance
-
freeformTagExists
public ListLogAnalyticsEntitiesRequest.Builder freeformTagExists(String singularValue)
Singular setter.A list of tag existence filters to apply. Only entities for which the specified freeform tags exist the value will be returned. The key for each tag is “{tagName}.true”. All inputs are case-insensitive. Currently, only existence (“true” at the end) is supported. Absence (“false” at the end) is not supported. Multiple values for different tag names are interpreted as “AND”.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
isShowAssociatedSourcesCount
public ListLogAnalyticsEntitiesRequest.Builder isShowAssociatedSourcesCount(Boolean isShowAssociatedSourcesCount)
Option to return count of associated log sources for log analytics entity(s).- Parameters:
isShowAssociatedSourcesCount- the 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:
copyin 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:
buildin 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
-
-