Class PatchLimitsIncreaseRequestRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.limitsincrease.requests.PatchLimitsIncreaseRequestRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<PatchLimitsIncreaseRequestRequest,PatchLimitsIncreaseRequestDetails>
- Enclosing class:
- PatchLimitsIncreaseRequestRequest
public static class PatchLimitsIncreaseRequestRequest.Builder extends Object implements BmcRequest.Builder<PatchLimitsIncreaseRequestRequest,PatchLimitsIncreaseRequestDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatchLimitsIncreaseRequestRequest.Builderbody$(PatchLimitsIncreaseRequestDetails body)Alternative setter for the body parameter.PatchLimitsIncreaseRequestRequestbuild()Build the instance of PatchLimitsIncreaseRequestRequest as configured by this builderPatchLimitsIncreaseRequestRequestbuildWithoutInvocationCallback()Build the instance of PatchLimitsIncreaseRequestRequest as configured by this builderPatchLimitsIncreaseRequestRequest.Buildercopy(PatchLimitsIncreaseRequestRequest o)Copy method to populate the builder with values from the given instance.PatchLimitsIncreaseRequestRequest.BuilderifMatch(String ifMatch)This value (etag) should be passed when you want to ensure that no-one else has changed the value while you’re making an update.PatchLimitsIncreaseRequestRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.PatchLimitsIncreaseRequestRequest.BuilderlimitsIncreaseRequestId(String limitsIncreaseRequestId)The OCID of the limit increase request.PatchLimitsIncreaseRequestRequest.BuilderopcRequestId(String opcRequestId)Override request id for request tracking purposes.PatchLimitsIncreaseRequestRequest.BuilderpatchLimitsIncreaseRequestDetails(PatchLimitsIncreaseRequestDetails patchLimitsIncreaseRequestDetails)The payload containing instructions to patch the Limits Increase RequestPatchLimitsIncreaseRequestRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
patchLimitsIncreaseRequestDetails
public PatchLimitsIncreaseRequestRequest.Builder patchLimitsIncreaseRequestDetails(PatchLimitsIncreaseRequestDetails patchLimitsIncreaseRequestDetails)
The payload containing instructions to patch the Limits Increase Request- Parameters:
patchLimitsIncreaseRequestDetails- the value to set- Returns:
- this builder instance
-
limitsIncreaseRequestId
public PatchLimitsIncreaseRequestRequest.Builder limitsIncreaseRequestId(String limitsIncreaseRequestId)
The OCID of the limit increase request.- Parameters:
limitsIncreaseRequestId- the value to set- Returns:
- this builder instance
-
opcRequestId
public PatchLimitsIncreaseRequestRequest.Builder opcRequestId(String opcRequestId)
Override request id for request tracking purposes.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
ifMatch
public PatchLimitsIncreaseRequestRequest.Builder ifMatch(String ifMatch)
This value (etag) should be passed when you want to ensure that no-one else has changed the value while you’re making an update.To get the current etag, make a GET call and read the current etag header. If GET returns 404, and you still want to ensure that noone else has executed a SET operation, pass the following header instead: if-none-match: *
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
invocationCallback
public PatchLimitsIncreaseRequestRequest.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 PatchLimitsIncreaseRequestRequest.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 PatchLimitsIncreaseRequestRequest.Builder copy(PatchLimitsIncreaseRequestRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<PatchLimitsIncreaseRequestRequest,PatchLimitsIncreaseRequestDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public PatchLimitsIncreaseRequestRequest build()
Build the instance of PatchLimitsIncreaseRequestRequest 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<PatchLimitsIncreaseRequestRequest,PatchLimitsIncreaseRequestDetails>- Returns:
- instance of PatchLimitsIncreaseRequestRequest
-
body$
public PatchLimitsIncreaseRequestRequest.Builder body$(PatchLimitsIncreaseRequestDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<PatchLimitsIncreaseRequestRequest,PatchLimitsIncreaseRequestDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public PatchLimitsIncreaseRequestRequest buildWithoutInvocationCallback()
Build the instance of PatchLimitsIncreaseRequestRequest 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 PatchLimitsIncreaseRequestRequest
-
-