Class ListIndicatorsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.threatintelligence.requests.ListIndicatorsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListIndicatorsRequest,Void>
- Enclosing class:
- ListIndicatorsRequest
public static class ListIndicatorsRequest.Builder extends Object implements BmcRequest.Builder<ListIndicatorsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListIndicatorsRequestbuild()Build the instance of ListIndicatorsRequest as configured by this builderListIndicatorsRequestbuildWithoutInvocationCallback()Build the instance of ListIndicatorsRequest as configured by this builderListIndicatorsRequest.BuildercompartmentId(String compartmentId)The OCID of the tenancy (root compartment) that is used to filter results.ListIndicatorsRequest.BuilderconfidenceGreaterThanOrEqualTo(Integer confidenceGreaterThanOrEqualTo)The minimum confidence score of entities to be returned.ListIndicatorsRequest.Buildercopy(ListIndicatorsRequest o)Copy method to populate the builder with values from the given instance.ListIndicatorsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListIndicatorsRequest.Builderlimit(Integer limit)The maximum number of items to return.ListIndicatorsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListIndicatorsRequest.Builderpage(String page)A token representing the position at which to start retrieving results.ListIndicatorsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListIndicatorsRequest.BuildersortBy(ListIndicatorsRequest.SortBy sortBy)The field to sort by.ListIndicatorsRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use, either ‘ASC’ or ‘DESC’.ListIndicatorsRequest.BuilderthreatTypeName(String singularValue)Singular setter.ListIndicatorsRequest.BuilderthreatTypeName(List<String> threatTypeName)The threat type of entites to be returned.ListIndicatorsRequest.BuildertimeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)The oldest created/first seen time of entities to be returned.ListIndicatorsRequest.BuildertimeCreatedLessThan(Date timeCreatedLessThan)Return indicators created/first seen before the provided time.ListIndicatorsRequest.BuildertimeLastSeenGreaterThanOrEqualTo(Date timeLastSeenGreaterThanOrEqualTo)The oldest last seen time of entities to be returned.ListIndicatorsRequest.BuildertimeLastSeenLessThan(Date timeLastSeenLessThan)Return indicators last seen before the provided time.ListIndicatorsRequest.BuildertimeUpdatedGreaterThanOrEqualTo(Date timeUpdatedGreaterThanOrEqualTo)The oldest update time of entities to be returned.ListIndicatorsRequest.BuildertimeUpdatedLessThan(Date timeUpdatedLessThan)Return indicators updated before the provided time.ListIndicatorsRequest.Buildertype(IndicatorType type)The indicator type of entities to be returned.ListIndicatorsRequest.Buildervalue(String value)The indicator value of entities to be returned.-
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
-
compartmentId
public ListIndicatorsRequest.Builder compartmentId(String compartmentId)
The OCID of the tenancy (root compartment) that is used to filter results.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
threatTypeName
public ListIndicatorsRequest.Builder threatTypeName(List<String> threatTypeName)
The threat type of entites to be returned.To filter for multiple threat types, repeat this parameter.
- Parameters:
threatTypeName- the value to set- Returns:
- this builder instance
-
threatTypeName
public ListIndicatorsRequest.Builder threatTypeName(String singularValue)
Singular setter.The threat type of entites to be returned. To filter for multiple threat types, repeat this parameter.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
type
public ListIndicatorsRequest.Builder type(IndicatorType type)
The indicator type of entities to be returned.- Parameters:
type- the value to set- Returns:
- this builder instance
-
value
public ListIndicatorsRequest.Builder value(String value)
The indicator value of entities to be returned.- Parameters:
value- the value to set- Returns:
- this builder instance
-
confidenceGreaterThanOrEqualTo
public ListIndicatorsRequest.Builder confidenceGreaterThanOrEqualTo(Integer confidenceGreaterThanOrEqualTo)
The minimum confidence score of entities to be returned.- Parameters:
confidenceGreaterThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeUpdatedGreaterThanOrEqualTo
public ListIndicatorsRequest.Builder timeUpdatedGreaterThanOrEqualTo(Date timeUpdatedGreaterThanOrEqualTo)
The oldest update time of entities to be returned.- Parameters:
timeUpdatedGreaterThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeUpdatedLessThan
public ListIndicatorsRequest.Builder timeUpdatedLessThan(Date timeUpdatedLessThan)
Return indicators updated before the provided time.- Parameters:
timeUpdatedLessThan- the value to set- Returns:
- this builder instance
-
timeLastSeenGreaterThanOrEqualTo
public ListIndicatorsRequest.Builder timeLastSeenGreaterThanOrEqualTo(Date timeLastSeenGreaterThanOrEqualTo)
The oldest last seen time of entities to be returned.- Parameters:
timeLastSeenGreaterThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeLastSeenLessThan
public ListIndicatorsRequest.Builder timeLastSeenLessThan(Date timeLastSeenLessThan)
Return indicators last seen before the provided time.- Parameters:
timeLastSeenLessThan- the value to set- Returns:
- this builder instance
-
timeCreatedGreaterThanOrEqualTo
public ListIndicatorsRequest.Builder timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)
The oldest created/first seen time of entities to be returned.- Parameters:
timeCreatedGreaterThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeCreatedLessThan
public ListIndicatorsRequest.Builder timeCreatedLessThan(Date timeCreatedLessThan)
Return indicators created/first seen before the provided time.- Parameters:
timeCreatedLessThan- the value to set- Returns:
- this builder instance
-
limit
public ListIndicatorsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListIndicatorsRequest.Builder page(String page)
A token representing the position at which to start retrieving results.This must come from the opc-next-page header field of a previous response.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortOrder
public ListIndicatorsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public ListIndicatorsRequest.Builder sortBy(ListIndicatorsRequest.SortBy sortBy)
The field to sort by.Only one field to sort by may be provided.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListIndicatorsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListIndicatorsRequest.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 ListIndicatorsRequest.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 ListIndicatorsRequest.Builder copy(ListIndicatorsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListIndicatorsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListIndicatorsRequest build()
Build the instance of ListIndicatorsRequest 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<ListIndicatorsRequest,Void>- Returns:
- instance of ListIndicatorsRequest
-
buildWithoutInvocationCallback
public ListIndicatorsRequest buildWithoutInvocationCallback()
Build the instance of ListIndicatorsRequest 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 ListIndicatorsRequest
-
-