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