Class UpdateModelVersionSetRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.requests.UpdateModelVersionSetRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateModelVersionSetRequest,UpdateModelVersionSetDetails>
- Enclosing class:
- UpdateModelVersionSetRequest
public static class UpdateModelVersionSetRequest.Builder extends Object implements BmcRequest.Builder<UpdateModelVersionSetRequest,UpdateModelVersionSetDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateModelVersionSetRequest.Builder
body$(UpdateModelVersionSetDetails body)
Alternative setter for the body parameter.UpdateModelVersionSetRequest
build()
Build the instance of UpdateModelVersionSetRequest as configured by this builderUpdateModelVersionSetRequest
buildWithoutInvocationCallback()
Build the instance of UpdateModelVersionSetRequest as configured by this builderUpdateModelVersionSetRequest.Builder
copy(UpdateModelVersionSetRequest o)
Copy method to populate the builder with values from the given instance.UpdateModelVersionSetRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.UpdateModelVersionSetRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.UpdateModelVersionSetRequest.Builder
modelVersionSetId(String modelVersionSetId)
The OCID of the model version set.UpdateModelVersionSetRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle assigned identifier for the request.UpdateModelVersionSetRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.UpdateModelVersionSetRequest.Builder
updateModelVersionSetDetails(UpdateModelVersionSetDetails updateModelVersionSetDetails)
Details for updating a model version set.
-
-
-
Method Detail
-
modelVersionSetId
public UpdateModelVersionSetRequest.Builder modelVersionSetId(String modelVersionSetId)
The OCID of the model version set.- Parameters:
modelVersionSetId
- the value to set- Returns:
- this builder instance
-
updateModelVersionSetDetails
public UpdateModelVersionSetRequest.Builder updateModelVersionSetDetails(UpdateModelVersionSetDetails updateModelVersionSetDetails)
Details for updating a model version set.You can update description property only.
- Parameters:
updateModelVersionSetDetails
- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateModelVersionSetRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource is updated or deleted only if the etag you provide matches the resource’s current etag value.
- Parameters:
ifMatch
- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateModelVersionSetRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle assigned identifier for the request.If you need to contact Oracle about a particular request, then provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateModelVersionSetRequest.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 UpdateModelVersionSetRequest.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 UpdateModelVersionSetRequest.Builder copy(UpdateModelVersionSetRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<UpdateModelVersionSetRequest,UpdateModelVersionSetDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateModelVersionSetRequest build()
Build the instance of UpdateModelVersionSetRequest 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<UpdateModelVersionSetRequest,UpdateModelVersionSetDetails>
- Returns:
- instance of UpdateModelVersionSetRequest
-
body$
public UpdateModelVersionSetRequest.Builder body$(UpdateModelVersionSetDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<UpdateModelVersionSetRequest,UpdateModelVersionSetDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateModelVersionSetRequest buildWithoutInvocationCallback()
Build the instance of UpdateModelVersionSetRequest 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 UpdateModelVersionSetRequest
-
-