Class UpdateSandboxWarmPoolRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.requests.UpdateSandboxWarmPoolRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateSandboxWarmPoolRequest,UpdateSandboxWarmPoolDetails>
- Enclosing class:
- UpdateSandboxWarmPoolRequest
public static class UpdateSandboxWarmPoolRequest.Builder extends Object implements BmcRequest.Builder<UpdateSandboxWarmPoolRequest,UpdateSandboxWarmPoolDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateSandboxWarmPoolRequest.Builderbody$(UpdateSandboxWarmPoolDetails body)Alternative setter for the body parameter.UpdateSandboxWarmPoolRequestbuild()Build the instance of UpdateSandboxWarmPoolRequest as configured by this builderUpdateSandboxWarmPoolRequestbuildWithoutInvocationCallback()Build the instance of UpdateSandboxWarmPoolRequest as configured by this builderUpdateSandboxWarmPoolRequest.Buildercopy(UpdateSandboxWarmPoolRequest o)Copy method to populate the builder with values from the given instance.UpdateSandboxWarmPoolRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateSandboxWarmPoolRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateSandboxWarmPoolRequest.Buildername(String name)Immutable name within the Project.UpdateSandboxWarmPoolRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.UpdateSandboxWarmPoolRequest.BuilderprojectId(String projectId)Owning Generative AI Project OCID.UpdateSandboxWarmPoolRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateSandboxWarmPoolRequest.BuilderupdateSandboxWarmPoolDetails(UpdateSandboxWarmPoolDetails updateSandboxWarmPoolDetails)Replacement desired capacity to persist.
-
-
-
Method Detail
-
projectId
public UpdateSandboxWarmPoolRequest.Builder projectId(String projectId)
Owning Generative AI Project OCID.Resolve parent compartment for authorization.
- Parameters:
projectId- the value to set- Returns:
- this builder instance
-
name
public UpdateSandboxWarmPoolRequest.Builder name(String name)
Immutable name within the Project.- Parameters:
name- the value to set- Returns:
- this builder instance
-
updateSandboxWarmPoolDetails
public UpdateSandboxWarmPoolRequest.Builder updateSandboxWarmPoolDetails(UpdateSandboxWarmPoolDetails updateSandboxWarmPoolDetails)
Replacement desired capacity to persist.- Parameters:
updateSandboxWarmPoolDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateSandboxWarmPoolRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateSandboxWarmPoolRequest.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 will be 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
-
invocationCallback
public UpdateSandboxWarmPoolRequest.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 UpdateSandboxWarmPoolRequest.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 UpdateSandboxWarmPoolRequest.Builder copy(UpdateSandboxWarmPoolRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateSandboxWarmPoolRequest,UpdateSandboxWarmPoolDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateSandboxWarmPoolRequest build()
Build the instance of UpdateSandboxWarmPoolRequest 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<UpdateSandboxWarmPoolRequest,UpdateSandboxWarmPoolDetails>- Returns:
- instance of UpdateSandboxWarmPoolRequest
-
body$
public UpdateSandboxWarmPoolRequest.Builder body$(UpdateSandboxWarmPoolDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateSandboxWarmPoolRequest,UpdateSandboxWarmPoolDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateSandboxWarmPoolRequest buildWithoutInvocationCallback()
Build the instance of UpdateSandboxWarmPoolRequest 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 UpdateSandboxWarmPoolRequest
-
-