Class UpdateFolderRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.requests.UpdateFolderRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateFolderRequest,UpdateFolderDetails>
- Enclosing class:
- UpdateFolderRequest
public static class UpdateFolderRequest.Builder extends Object implements BmcRequest.Builder<UpdateFolderRequest,UpdateFolderDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateFolderRequest.Builderbody$(UpdateFolderDetails body)Alternative setter for the body parameter.UpdateFolderRequestbuild()Build the instance of UpdateFolderRequest as configured by this builderUpdateFolderRequestbuildWithoutInvocationCallback()Build the instance of UpdateFolderRequest as configured by this builderUpdateFolderRequest.Buildercopy(UpdateFolderRequest o)Copy method to populate the builder with values from the given instance.UpdateFolderRequest.BuilderfolderKey(String folderKey)The folder key.UpdateFolderRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateFolderRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateFolderRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.UpdateFolderRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateFolderRequest.BuilderupdateFolderDetails(UpdateFolderDetails updateFolderDetails)The details needed to update a folder.UpdateFolderRequest.BuilderworkspaceId(String workspaceId)The workspace ID.
-
-
-
Method Detail
-
workspaceId
public UpdateFolderRequest.Builder workspaceId(String workspaceId)
The workspace ID.- Parameters:
workspaceId- the value to set- Returns:
- this builder instance
-
folderKey
public UpdateFolderRequest.Builder folderKey(String folderKey)
The folder key.- Parameters:
folderKey- the value to set- Returns:
- this builder instance
-
updateFolderDetails
public UpdateFolderRequest.Builder updateFolderDetails(UpdateFolderDetails updateFolderDetails)
The details needed to update a folder.- Parameters:
updateFolderDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateFolderRequest.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 UpdateFolderRequest.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 UpdateFolderRequest.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 UpdateFolderRequest.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 UpdateFolderRequest.Builder copy(UpdateFolderRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateFolderRequest,UpdateFolderDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateFolderRequest build()
Build the instance of UpdateFolderRequest 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<UpdateFolderRequest,UpdateFolderDetails>- Returns:
- instance of UpdateFolderRequest
-
body$
public UpdateFolderRequest.Builder body$(UpdateFolderDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateFolderRequest,UpdateFolderDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateFolderRequest buildWithoutInvocationCallback()
Build the instance of UpdateFolderRequest 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 UpdateFolderRequest
-
-