Class UpdateExternalPublicationRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.requests.UpdateExternalPublicationRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateExternalPublicationRequest,UpdateExternalPublicationDetails>
- Enclosing class:
- UpdateExternalPublicationRequest
public static class UpdateExternalPublicationRequest.Builder extends Object implements BmcRequest.Builder<UpdateExternalPublicationRequest,UpdateExternalPublicationDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateExternalPublicationRequest.Builderbody$(UpdateExternalPublicationDetails body)Alternative setter for the body parameter.UpdateExternalPublicationRequestbuild()Build the instance of UpdateExternalPublicationRequest as configured by this builderUpdateExternalPublicationRequestbuildWithoutInvocationCallback()Build the instance of UpdateExternalPublicationRequest as configured by this builderUpdateExternalPublicationRequest.Buildercopy(UpdateExternalPublicationRequest o)Copy method to populate the builder with values from the given instance.UpdateExternalPublicationRequest.BuilderexternalPublicationsKey(String externalPublicationsKey)The external published object key.UpdateExternalPublicationRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateExternalPublicationRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateExternalPublicationRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.UpdateExternalPublicationRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateExternalPublicationRequest.BuildertaskKey(String taskKey)The task key.UpdateExternalPublicationRequest.BuilderupdateExternalPublicationDetails(UpdateExternalPublicationDetails updateExternalPublicationDetails)The information to be updated.UpdateExternalPublicationRequest.BuilderworkspaceId(String workspaceId)The workspace ID.
-
-
-
Method Detail
-
workspaceId
public UpdateExternalPublicationRequest.Builder workspaceId(String workspaceId)
The workspace ID.- Parameters:
workspaceId- the value to set- Returns:
- this builder instance
-
taskKey
public UpdateExternalPublicationRequest.Builder taskKey(String taskKey)
The task key.- Parameters:
taskKey- the value to set- Returns:
- this builder instance
-
externalPublicationsKey
public UpdateExternalPublicationRequest.Builder externalPublicationsKey(String externalPublicationsKey)
The external published object key.- Parameters:
externalPublicationsKey- the value to set- Returns:
- this builder instance
-
updateExternalPublicationDetails
public UpdateExternalPublicationRequest.Builder updateExternalPublicationDetails(UpdateExternalPublicationDetails updateExternalPublicationDetails)
The information to be updated.- Parameters:
updateExternalPublicationDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateExternalPublicationRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateExternalPublicationRequest.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. When ‘if-match’ is provided and its value does not exactly match the ‘etag’ of the resource on the server, the request fails with the 412 response code.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateExternalPublicationRequest.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 UpdateExternalPublicationRequest.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 UpdateExternalPublicationRequest.Builder copy(UpdateExternalPublicationRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateExternalPublicationRequest,UpdateExternalPublicationDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateExternalPublicationRequest build()
Build the instance of UpdateExternalPublicationRequest 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<UpdateExternalPublicationRequest,UpdateExternalPublicationDetails>- Returns:
- instance of UpdateExternalPublicationRequest
-
body$
public UpdateExternalPublicationRequest.Builder body$(UpdateExternalPublicationDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateExternalPublicationRequest,UpdateExternalPublicationDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateExternalPublicationRequest buildWithoutInvocationCallback()
Build the instance of UpdateExternalPublicationRequest 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 UpdateExternalPublicationRequest
-
-