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.Builder
body$(DownloadMaskingPolicyDetails body)
Alternative setter for the body parameter.DownloadMaskingPolicyRequest
build()
Build the instance of DownloadMaskingPolicyRequest as configured by this builderDownloadMaskingPolicyRequest
buildWithoutInvocationCallback()
Build the instance of DownloadMaskingPolicyRequest as configured by this builderDownloadMaskingPolicyRequest.Builder
copy(DownloadMaskingPolicyRequest o)
Copy method to populate the builder with values from the given instance.DownloadMaskingPolicyRequest.Builder
downloadMaskingPolicyDetails(DownloadMaskingPolicyDetails downloadMaskingPolicyDetails)
Details to download a masking policy file.DownloadMaskingPolicyRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.DownloadMaskingPolicyRequest.Builder
maskingPolicyId(String maskingPolicyId)
The OCID of the masking policy.DownloadMaskingPolicyRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.DownloadMaskingPolicyRequest.Builder
retryConfiguration(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:
copy
in 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:
build
in 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
-
-