Class SummarizeAnnotationAnalyticsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datalabelingservicedataplane.requests.SummarizeAnnotationAnalyticsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<SummarizeAnnotationAnalyticsRequest,Void>
- Enclosing class:
- SummarizeAnnotationAnalyticsRequest
public static class SummarizeAnnotationAnalyticsRequest.Builder extends Object implements BmcRequest.Builder<SummarizeAnnotationAnalyticsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SummarizeAnnotationAnalyticsRequest.Builder
annotationGroupBy(SummarizeAnnotationAnalyticsRequest.AnnotationGroupBy annotationGroupBy)
The field to group by.SummarizeAnnotationAnalyticsRequest
build()
Build the instance of SummarizeAnnotationAnalyticsRequest as configured by this builderSummarizeAnnotationAnalyticsRequest
buildWithoutInvocationCallback()
Build the instance of SummarizeAnnotationAnalyticsRequest as configured by this builderSummarizeAnnotationAnalyticsRequest.Builder
compartmentId(String compartmentId)
The ID of the compartment in which to list resources.SummarizeAnnotationAnalyticsRequest.Builder
copy(SummarizeAnnotationAnalyticsRequest o)
Copy method to populate the builder with values from the given instance.SummarizeAnnotationAnalyticsRequest.Builder
datasetId(String datasetId)
Filter the results by the OCID of the dataset.SummarizeAnnotationAnalyticsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.SummarizeAnnotationAnalyticsRequest.Builder
label(String label)
It summarizes annotations with the specified label.SummarizeAnnotationAnalyticsRequest.Builder
lifecycleState(Annotation.LifecycleState lifecycleState)
A filter to return only resources whose lifecycleState matches the given lifecycleState.SummarizeAnnotationAnalyticsRequest.Builder
limit(Integer limit)
The maximum number of items to return.SummarizeAnnotationAnalyticsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.SummarizeAnnotationAnalyticsRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.SummarizeAnnotationAnalyticsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.SummarizeAnnotationAnalyticsRequest.Builder
sortBy(SummarizeAnnotationAnalyticsRequest.SortBy sortBy)
The field to sort by.SummarizeAnnotationAnalyticsRequest.Builder
sortOrder(SortOrders sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.-
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 SummarizeAnnotationAnalyticsRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
datasetId
public SummarizeAnnotationAnalyticsRequest.Builder datasetId(String datasetId)
Filter the results by the OCID of the dataset.- Parameters:
datasetId
- the value to set- Returns:
- this builder instance
-
lifecycleState
public SummarizeAnnotationAnalyticsRequest.Builder lifecycleState(Annotation.LifecycleState lifecycleState)
A filter to return only resources whose lifecycleState matches the given lifecycleState.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
label
public SummarizeAnnotationAnalyticsRequest.Builder label(String label)
It summarizes annotations with the specified label.- Parameters:
label
- the value to set- Returns:
- this builder instance
-
limit
public SummarizeAnnotationAnalyticsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public SummarizeAnnotationAnalyticsRequest.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 SummarizeAnnotationAnalyticsRequest.Builder sortOrder(SortOrders sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public SummarizeAnnotationAnalyticsRequest.Builder sortBy(SummarizeAnnotationAnalyticsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. The default order is descending. If no value is specified, updatedBy is used by default.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
annotationGroupBy
public SummarizeAnnotationAnalyticsRequest.Builder annotationGroupBy(SummarizeAnnotationAnalyticsRequest.AnnotationGroupBy annotationGroupBy)
The field to group by.If no value is specified, updatedBy is used by default.
- Parameters:
annotationGroupBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public SummarizeAnnotationAnalyticsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public SummarizeAnnotationAnalyticsRequest.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 SummarizeAnnotationAnalyticsRequest.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 SummarizeAnnotationAnalyticsRequest.Builder copy(SummarizeAnnotationAnalyticsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<SummarizeAnnotationAnalyticsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public SummarizeAnnotationAnalyticsRequest build()
Build the instance of SummarizeAnnotationAnalyticsRequest 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<SummarizeAnnotationAnalyticsRequest,Void>
- Returns:
- instance of SummarizeAnnotationAnalyticsRequest
-
buildWithoutInvocationCallback
public SummarizeAnnotationAnalyticsRequest buildWithoutInvocationCallback()
Build the instance of SummarizeAnnotationAnalyticsRequest 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 SummarizeAnnotationAnalyticsRequest
-
-