Class RecommendationsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.requests.RecommendationsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<RecommendationsRequest,Void>
- Enclosing class:
- RecommendationsRequest
public static class RecommendationsRequest.Builder extends Object implements BmcRequest.Builder<RecommendationsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecommendationsRequest
build()
Build the instance of RecommendationsRequest as configured by this builderRecommendationsRequest
buildWithoutInvocationCallback()
Build the instance of RecommendationsRequest as configured by this builderRecommendationsRequest.Builder
catalogId(String catalogId)
Unique catalog identifier.RecommendationsRequest.Builder
copy(RecommendationsRequest o)
Copy method to populate the builder with values from the given instance.RecommendationsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.RecommendationsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.RecommendationsRequest.Builder
recommendationStatus(RecommendationStatus recommendationStatus)
A filter used to return only recommendations having the requested status.RecommendationsRequest.Builder
recommendationType(RecommendationType singularValue)
Singular setter.RecommendationsRequest.Builder
recommendationType(List<RecommendationType> recommendationType)
A filter used to return only recommendations of the specified type.RecommendationsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.RecommendationsRequest.Builder
sourceObjectKey(String sourceObjectKey)
A filter used to provide the unique identifier of the source object, for which a list of recommendations will be returned for review.RecommendationsRequest.Builder
sourceObjectType(RecommendationResourceType sourceObjectType)
A filter used to provide the type of the source object, for which a list of recommendations will be returned for review.-
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
-
catalogId
public RecommendationsRequest.Builder catalogId(String catalogId)
Unique catalog identifier.- Parameters:
catalogId
- the value to set- Returns:
- this builder instance
-
recommendationType
public RecommendationsRequest.Builder recommendationType(List<RecommendationType> recommendationType)
A filter used to return only recommendations of the specified type.- Parameters:
recommendationType
- the value to set- Returns:
- this builder instance
-
recommendationType
public RecommendationsRequest.Builder recommendationType(RecommendationType singularValue)
Singular setter.A filter used to return only recommendations of the specified type.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
sourceObjectKey
public RecommendationsRequest.Builder sourceObjectKey(String sourceObjectKey)
A filter used to provide the unique identifier of the source object, for which a list of recommendations will be returned for review.- Parameters:
sourceObjectKey
- the value to set- Returns:
- this builder instance
-
sourceObjectType
public RecommendationsRequest.Builder sourceObjectType(RecommendationResourceType sourceObjectType)
A filter used to provide the type of the source object, for which a list of recommendations will be returned for review.- Parameters:
sourceObjectType
- the value to set- Returns:
- this builder instance
-
recommendationStatus
public RecommendationsRequest.Builder recommendationStatus(RecommendationStatus recommendationStatus)
A filter used to return only recommendations having the requested status.- Parameters:
recommendationStatus
- the value to set- Returns:
- this builder instance
-
opcRequestId
public RecommendationsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public RecommendationsRequest.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 RecommendationsRequest.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 RecommendationsRequest.Builder copy(RecommendationsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<RecommendationsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public RecommendationsRequest build()
Build the instance of RecommendationsRequest 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<RecommendationsRequest,Void>
- Returns:
- instance of RecommendationsRequest
-
buildWithoutInvocationCallback
public RecommendationsRequest buildWithoutInvocationCallback()
Build the instance of RecommendationsRequest 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 RecommendationsRequest
-
-