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