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