Class CancelLimitsIncreaseItemRequestRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.limitsincrease.requests.CancelLimitsIncreaseItemRequestRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<CancelLimitsIncreaseItemRequestRequest,Void>
- Enclosing class:
- CancelLimitsIncreaseItemRequestRequest
public static class CancelLimitsIncreaseItemRequestRequest.Builder extends Object implements BmcRequest.Builder<CancelLimitsIncreaseItemRequestRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CancelLimitsIncreaseItemRequestRequestbuild()Build the instance of CancelLimitsIncreaseItemRequestRequest as configured by this builderCancelLimitsIncreaseItemRequestRequestbuildWithoutInvocationCallback()Build the instance of CancelLimitsIncreaseItemRequestRequest as configured by this builderCancelLimitsIncreaseItemRequestRequest.Buildercopy(CancelLimitsIncreaseItemRequestRequest o)Copy method to populate the builder with values from the given instance.CancelLimitsIncreaseItemRequestRequest.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.CancelLimitsIncreaseItemRequestRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CancelLimitsIncreaseItemRequestRequest.BuilderlimitsIncreaseItemRequestId(String limitsIncreaseItemRequestId)The OCID of the limit increase request.CancelLimitsIncreaseItemRequestRequest.BuilderopcRequestId(String opcRequestId)Override request id for request tracking purposes.CancelLimitsIncreaseItemRequestRequest.BuilderopcRetryToken(String opcRetryToken)Idempotency token to make sure that a second create operation won’t fail if the first one succeeded.CancelLimitsIncreaseItemRequestRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.-
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
-
limitsIncreaseItemRequestId
public CancelLimitsIncreaseItemRequestRequest.Builder limitsIncreaseItemRequestId(String limitsIncreaseItemRequestId)
The OCID of the limit increase request.- Parameters:
limitsIncreaseItemRequestId- the value to set- Returns:
- this builder instance
-
opcRequestId
public CancelLimitsIncreaseItemRequestRequest.Builder opcRequestId(String opcRequestId)
Override request id for request tracking purposes.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
ifMatch
public CancelLimitsIncreaseItemRequestRequest.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
-
opcRetryToken
public CancelLimitsIncreaseItemRequestRequest.Builder opcRetryToken(String opcRetryToken)
Idempotency token to make sure that a second create operation won’t fail if the first one succeeded.This can be any random string.
- Parameters:
opcRetryToken- the value to set- Returns:
- this builder instance
-
invocationCallback
public CancelLimitsIncreaseItemRequestRequest.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 CancelLimitsIncreaseItemRequestRequest.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 CancelLimitsIncreaseItemRequestRequest.Builder copy(CancelLimitsIncreaseItemRequestRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<CancelLimitsIncreaseItemRequestRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public CancelLimitsIncreaseItemRequestRequest build()
Build the instance of CancelLimitsIncreaseItemRequestRequest 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<CancelLimitsIncreaseItemRequestRequest,Void>- Returns:
- instance of CancelLimitsIncreaseItemRequestRequest
-
buildWithoutInvocationCallback
public CancelLimitsIncreaseItemRequestRequest buildWithoutInvocationCallback()
Build the instance of CancelLimitsIncreaseItemRequestRequest 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 CancelLimitsIncreaseItemRequestRequest
-
-