Package com.oracle.bmc.datasafe.requests
Class DownloadMaskingPolicyRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.requests.DownloadMaskingPolicyRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<DownloadMaskingPolicyRequest,DownloadMaskingPolicyDetails>
- Enclosing class:
- DownloadMaskingPolicyRequest
public static class DownloadMaskingPolicyRequest.Builder extends Object implements BmcRequest.Builder<DownloadMaskingPolicyRequest,DownloadMaskingPolicyDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DownloadMaskingPolicyRequest.Builderbody$(DownloadMaskingPolicyDetails body)Alternative setter for the body parameter.DownloadMaskingPolicyRequestbuild()Build the instance of DownloadMaskingPolicyRequest as configured by this builderDownloadMaskingPolicyRequestbuildWithoutInvocationCallback()Build the instance of DownloadMaskingPolicyRequest as configured by this builderDownloadMaskingPolicyRequest.Buildercopy(DownloadMaskingPolicyRequest o)Copy method to populate the builder with values from the given instance.DownloadMaskingPolicyRequest.BuilderdownloadMaskingPolicyDetails(DownloadMaskingPolicyDetails downloadMaskingPolicyDetails)Details to download a masking policy file.DownloadMaskingPolicyRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.DownloadMaskingPolicyRequest.BuildermaskingPolicyId(String maskingPolicyId)The OCID of the masking policy.DownloadMaskingPolicyRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.DownloadMaskingPolicyRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
maskingPolicyId
public DownloadMaskingPolicyRequest.Builder maskingPolicyId(String maskingPolicyId)
The OCID of the masking policy.- Parameters:
maskingPolicyId- the value to set- Returns:
- this builder instance
-
downloadMaskingPolicyDetails
public DownloadMaskingPolicyRequest.Builder downloadMaskingPolicyDetails(DownloadMaskingPolicyDetails downloadMaskingPolicyDetails)
Details to download a masking policy file.- Parameters:
downloadMaskingPolicyDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public DownloadMaskingPolicyRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public DownloadMaskingPolicyRequest.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 DownloadMaskingPolicyRequest.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 DownloadMaskingPolicyRequest.Builder copy(DownloadMaskingPolicyRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<DownloadMaskingPolicyRequest,DownloadMaskingPolicyDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public DownloadMaskingPolicyRequest build()
Build the instance of DownloadMaskingPolicyRequest 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<DownloadMaskingPolicyRequest,DownloadMaskingPolicyDetails>- Returns:
- instance of DownloadMaskingPolicyRequest
-
body$
public DownloadMaskingPolicyRequest.Builder body$(DownloadMaskingPolicyDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<DownloadMaskingPolicyRequest,DownloadMaskingPolicyDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public DownloadMaskingPolicyRequest buildWithoutInvocationCallback()
Build the instance of DownloadMaskingPolicyRequest 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 DownloadMaskingPolicyRequest
-
-