public static class RecommendationsRequest.Builder extends Object implements BmcRequest.Builder<RecommendationsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RecommendationsRequest |
build()
Build the instance of RecommendationsRequest as configured by this builder
|
RecommendationsRequest |
buildWithoutInvocationCallback()
Build the instance of RecommendationsRequest as configured by this builder
|
RecommendationsRequest.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(List<RecommendationType> recommendationType)
A filter used to return only recommendations of the specified type.
|
RecommendationsRequest.Builder |
recommendationType(RecommendationType singularValue)
Singular setter.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public RecommendationsRequest.Builder catalogId(String catalogId)
Unique catalog identifier.
catalogId
- the value to setpublic RecommendationsRequest.Builder recommendationType(List<RecommendationType> recommendationType)
A filter used to return only recommendations of the specified type.
recommendationType
- the value to setpublic RecommendationsRequest.Builder recommendationType(RecommendationType singularValue)
Singular setter. A filter used to return only recommendations of the specified type.
singularValue
- the singular value to setpublic 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.
sourceObjectKey
- the value to setpublic 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.
sourceObjectType
- the value to setpublic RecommendationsRequest.Builder recommendationStatus(RecommendationStatus recommendationStatus)
A filter used to return only recommendations having the requested status.
recommendationStatus
- the value to setpublic RecommendationsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic RecommendationsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic RecommendationsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic RecommendationsRequest.Builder copy(RecommendationsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<RecommendationsRequest,Void>
o
- other request from which to copy valuespublic RecommendationsRequest build()
Build the instance of RecommendationsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<RecommendationsRequest,Void>
public RecommendationsRequest buildWithoutInvocationCallback()
Build the instance of RecommendationsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.