Class UpdatePipelineRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.requests.UpdatePipelineRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdatePipelineRequest,UpdatePipelineDetails>
- Enclosing class:
- UpdatePipelineRequest
public static class UpdatePipelineRequest.Builder extends Object implements BmcRequest.Builder<UpdatePipelineRequest,UpdatePipelineDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdatePipelineRequest.Builderbody$(UpdatePipelineDetails body)Alternative setter for the body parameter.UpdatePipelineRequestbuild()Build the instance of UpdatePipelineRequest as configured by this builderUpdatePipelineRequestbuildWithoutInvocationCallback()Build the instance of UpdatePipelineRequest as configured by this builderUpdatePipelineRequest.Buildercopy(UpdatePipelineRequest o)Copy method to populate the builder with values from the given instance.UpdatePipelineRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdatePipelineRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdatePipelineRequest.BuilderisLockOverride(Boolean isLockOverride)Whether to override locks (if any exist).UpdatePipelineRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdatePipelineRequest.BuilderpipelineId(String pipelineId)The OCID of the pipeline created.UpdatePipelineRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdatePipelineRequest.BuilderupdatePipelineDetails(UpdatePipelineDetails updatePipelineDetails)The existing pipeline specifications to apply.
-
-
-
Method Detail
-
pipelineId
public UpdatePipelineRequest.Builder pipelineId(String pipelineId)
The OCID of the pipeline created.- Parameters:
pipelineId- the value to set- Returns:
- this builder instance
-
updatePipelineDetails
public UpdatePipelineRequest.Builder updatePipelineDetails(UpdatePipelineDetails updatePipelineDetails)
The existing pipeline specifications to apply.- Parameters:
updatePipelineDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdatePipelineRequest.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 is 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
-
opcRequestId
public UpdatePipelineRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
isLockOverride
public UpdatePipelineRequest.Builder isLockOverride(Boolean isLockOverride)
Whether to override locks (if any exist).- Parameters:
isLockOverride- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdatePipelineRequest.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 UpdatePipelineRequest.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 UpdatePipelineRequest.Builder copy(UpdatePipelineRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdatePipelineRequest,UpdatePipelineDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdatePipelineRequest build()
Build the instance of UpdatePipelineRequest 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<UpdatePipelineRequest,UpdatePipelineDetails>- Returns:
- instance of UpdatePipelineRequest
-
body$
public UpdatePipelineRequest.Builder body$(UpdatePipelineDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdatePipelineRequest,UpdatePipelineDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdatePipelineRequest buildWithoutInvocationCallback()
Build the instance of UpdatePipelineRequest 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 UpdatePipelineRequest
-
-