Package com.oracle.bmc.identity.requests
Class UpdateNetworkSourceRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.identity.requests.UpdateNetworkSourceRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateNetworkSourceRequest,UpdateNetworkSourceDetails>
 - Enclosing class:
- UpdateNetworkSourceRequest
 
 public static class UpdateNetworkSourceRequest.Builder extends Object implements BmcRequest.Builder<UpdateNetworkSourceRequest,UpdateNetworkSourceDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateNetworkSourceRequest.Builderbody$(UpdateNetworkSourceDetails body)Alternative setter for the body parameter.UpdateNetworkSourceRequestbuild()Build the instance of UpdateNetworkSourceRequest as configured by this builderUpdateNetworkSourceRequestbuildWithoutInvocationCallback()Build the instance of UpdateNetworkSourceRequest as configured by this builderUpdateNetworkSourceRequest.Buildercopy(UpdateNetworkSourceRequest o)Copy method to populate the builder with values from the given instance.UpdateNetworkSourceRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateNetworkSourceRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateNetworkSourceRequest.BuildernetworkSourceId(String networkSourceId)The OCID of the network source.UpdateNetworkSourceRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateNetworkSourceRequest.BuilderupdateNetworkSourceDetails(UpdateNetworkSourceDetails updateNetworkSourceDetails)Request object for updating a network source.
 
- 
- 
- 
Method Detail- 
networkSourceIdpublic UpdateNetworkSourceRequest.Builder networkSourceId(String networkSourceId) The OCID of the network source.- Parameters:
- networkSourceId- the value to set
- Returns:
- this builder instance
 
 - 
updateNetworkSourceDetailspublic UpdateNetworkSourceRequest.Builder updateNetworkSourceDetails(UpdateNetworkSourceDetails updateNetworkSourceDetails) Request object for updating a network source.- Parameters:
- updateNetworkSourceDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateNetworkSourceRequest.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
 
 - 
invocationCallbackpublic UpdateNetworkSourceRequest.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 UpdateNetworkSourceRequest.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 UpdateNetworkSourceRequest.Builder copy(UpdateNetworkSourceRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateNetworkSourceRequest,UpdateNetworkSourceDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateNetworkSourceRequest build() Build the instance of UpdateNetworkSourceRequest 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<UpdateNetworkSourceRequest,UpdateNetworkSourceDetails>
- Returns:
- instance of UpdateNetworkSourceRequest
 
 - 
body$public UpdateNetworkSourceRequest.Builder body$(UpdateNetworkSourceDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateNetworkSourceRequest,UpdateNetworkSourceDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateNetworkSourceRequest buildWithoutInvocationCallback() Build the instance of UpdateNetworkSourceRequest 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 UpdateNetworkSourceRequest
 
 
- 
 
-