Class UpdateSubscriberRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.apigateway.requests.UpdateSubscriberRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateSubscriberRequest,UpdateSubscriberDetails>
 - Enclosing class:
- UpdateSubscriberRequest
 
 public static class UpdateSubscriberRequest.Builder extends Object implements BmcRequest.Builder<UpdateSubscriberRequest,UpdateSubscriberDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateSubscriberRequest.Builderbody$(UpdateSubscriberDetails body)Alternative setter for the body parameter.UpdateSubscriberRequestbuild()Build the instance of UpdateSubscriberRequest as configured by this builderUpdateSubscriberRequestbuildWithoutInvocationCallback()Build the instance of UpdateSubscriberRequest as configured by this builderUpdateSubscriberRequest.Buildercopy(UpdateSubscriberRequest o)Copy method to populate the builder with values from the given instance.UpdateSubscriberRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateSubscriberRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateSubscriberRequest.BuilderisLockOverride(Boolean isLockOverride)Whether to override locks (if any exist).UpdateSubscriberRequest.BuilderopcRequestId(String opcRequestId)The client request id for tracing.UpdateSubscriberRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateSubscriberRequest.BuildersubscriberId(String subscriberId)The ocid of the subscriber.UpdateSubscriberRequest.BuilderupdateSubscriberDetails(UpdateSubscriberDetails updateSubscriberDetails)The information to be updated.
 
- 
- 
- 
Method Detail- 
subscriberIdpublic UpdateSubscriberRequest.Builder subscriberId(String subscriberId) The ocid of the subscriber.- Parameters:
- subscriberId- the value to set
- Returns:
- this builder instance
 
 - 
updateSubscriberDetailspublic UpdateSubscriberRequest.Builder updateSubscriberDetails(UpdateSubscriberDetails updateSubscriberDetails) The information to be updated.- Parameters:
- updateSubscriberDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateSubscriberRequest.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
 
 - 
opcRequestIdpublic UpdateSubscriberRequest.Builder opcRequestId(String opcRequestId) The client request id for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
isLockOverridepublic UpdateSubscriberRequest.Builder isLockOverride(Boolean isLockOverride) Whether to override locks (if any exist).- Parameters:
- isLockOverride- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic UpdateSubscriberRequest.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
 
 - 
retryConfigurationpublic UpdateSubscriberRequest.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
 
 - 
copypublic UpdateSubscriberRequest.Builder copy(UpdateSubscriberRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateSubscriberRequest,UpdateSubscriberDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateSubscriberRequest build() Build the instance of UpdateSubscriberRequest 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 interface- BmcRequest.Builder<UpdateSubscriberRequest,UpdateSubscriberDetails>
- Returns:
- instance of UpdateSubscriberRequest
 
 - 
body$public UpdateSubscriberRequest.Builder body$(UpdateSubscriberDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateSubscriberRequest,UpdateSubscriberDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateSubscriberRequest buildWithoutInvocationCallback() Build the instance of UpdateSubscriberRequest 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 UpdateSubscriberRequest
 
 
- 
 
-