Class ImportDataAssetRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.requests.ImportDataAssetRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ImportDataAssetRequest,ImportDataAssetDetails>
- Enclosing class:
- ImportDataAssetRequest
public static class ImportDataAssetRequest.Builder extends Object implements BmcRequest.Builder<ImportDataAssetRequest,ImportDataAssetDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImportDataAssetRequest.Builderbody$(ImportDataAssetDetails body)Alternative setter for the body parameter.ImportDataAssetRequestbuild()Build the instance of ImportDataAssetRequest as configured by this builderImportDataAssetRequestbuildWithoutInvocationCallback()Build the instance of ImportDataAssetRequest as configured by this builderImportDataAssetRequest.BuildercatalogId(String catalogId)Unique catalog identifier.ImportDataAssetRequest.Buildercopy(ImportDataAssetRequest o)Copy method to populate the builder with values from the given instance.ImportDataAssetRequest.BuilderdataAssetKey(String dataAssetKey)Unique data asset key.ImportDataAssetRequest.BuilderimportDataAssetDetails(ImportDataAssetDetails importDataAssetDetails)The file contents to be imported.ImportDataAssetRequest.BuilderimportType(DataAssetImportExportTypeFilter singularValue)Singular setter.ImportDataAssetRequest.BuilderimportType(List<DataAssetImportExportTypeFilter> importType)Type of import.ImportDataAssetRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ImportDataAssetRequest.BuilderisMissingValueIgnored(Boolean isMissingValueIgnored)Specify whether to ignore the missing values in the import file.ImportDataAssetRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ImportDataAssetRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.ImportDataAssetRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
catalogId
public ImportDataAssetRequest.Builder catalogId(String catalogId)
Unique catalog identifier.- Parameters:
catalogId- the value to set- Returns:
- this builder instance
-
dataAssetKey
public ImportDataAssetRequest.Builder dataAssetKey(String dataAssetKey)
Unique data asset key.- Parameters:
dataAssetKey- the value to set- Returns:
- this builder instance
-
importDataAssetDetails
public ImportDataAssetRequest.Builder importDataAssetDetails(ImportDataAssetDetails importDataAssetDetails)
The file contents to be imported.- Parameters:
importDataAssetDetails- the value to set- Returns:
- this builder instance
-
importType
public ImportDataAssetRequest.Builder importType(List<DataAssetImportExportTypeFilter> importType)
Type of import.- Parameters:
importType- the value to set- Returns:
- this builder instance
-
importType
public ImportDataAssetRequest.Builder importType(DataAssetImportExportTypeFilter singularValue)
Singular setter.Type of import.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
isMissingValueIgnored
public ImportDataAssetRequest.Builder isMissingValueIgnored(Boolean isMissingValueIgnored)
Specify whether to ignore the missing values in the import file.- Parameters:
isMissingValueIgnored- the value to set- Returns:
- this builder instance
-
opcRequestId
public ImportDataAssetRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
opcRetryToken
public ImportDataAssetRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
- Parameters:
opcRetryToken- the value to set- Returns:
- this builder instance
-
invocationCallback
public ImportDataAssetRequest.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 ImportDataAssetRequest.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 ImportDataAssetRequest.Builder copy(ImportDataAssetRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ImportDataAssetRequest,ImportDataAssetDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ImportDataAssetRequest build()
Build the instance of ImportDataAssetRequest 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<ImportDataAssetRequest,ImportDataAssetDetails>- Returns:
- instance of ImportDataAssetRequest
-
body$
public ImportDataAssetRequest.Builder body$(ImportDataAssetDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<ImportDataAssetRequest,ImportDataAssetDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public ImportDataAssetRequest buildWithoutInvocationCallback()
Build the instance of ImportDataAssetRequest 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 ImportDataAssetRequest
-
-