public static class UpdateSourceRequest.Builder extends Object implements BmcRequest.Builder<UpdateSourceRequest,UpdateSourceDetails>
public UpdateSourceRequest.Builder invocationCallback(com.oracle.bmc.util.internal.Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic UpdateSourceRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic UpdateSourceRequest.Builder copy(UpdateSourceRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<UpdateSourceRequest,UpdateSourceDetails>
public UpdateSourceRequest build()
Build the instance of UpdateSourceRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<UpdateSourceRequest,UpdateSourceDetails>
public UpdateSourceRequest.Builder body$(UpdateSourceDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<UpdateSourceRequest,UpdateSourceDetails>
body
- the body parameterpublic UpdateSourceRequest.Builder sourceId(String sourceId)
public UpdateSourceRequest.Builder updateSourceDetails(UpdateSourceDetails updateSourceDetails)
public UpdateSourceRequest.Builder opcRequestId(String opcRequestId)
public UpdateSourceRequest.Builder ifMatch(String ifMatch)
public UpdateSourceRequest buildWithoutInvocationCallback()
Copyright © 2016–2021. All rights reserved.