Class BulkUploadLicenseRecordsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.licensemanager.requests.BulkUploadLicenseRecordsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<BulkUploadLicenseRecordsRequest,BulkUploadLicenseRecordsDetails>
- Enclosing class:
- BulkUploadLicenseRecordsRequest
public static class BulkUploadLicenseRecordsRequest.Builder extends Object implements BmcRequest.Builder<BulkUploadLicenseRecordsRequest,BulkUploadLicenseRecordsDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BulkUploadLicenseRecordsRequest.Builder
body$(BulkUploadLicenseRecordsDetails body)
Alternative setter for the body parameter.BulkUploadLicenseRecordsRequest
build()
Build the instance of BulkUploadLicenseRecordsRequest as configured by this builderBulkUploadLicenseRecordsRequest
buildWithoutInvocationCallback()
Build the instance of BulkUploadLicenseRecordsRequest as configured by this builderBulkUploadLicenseRecordsRequest.Builder
bulkUploadLicenseRecordsDetails(BulkUploadLicenseRecordsDetails bulkUploadLicenseRecordsDetails)
Details required for the bulk upload of product licenses and license records.BulkUploadLicenseRecordsRequest.Builder
copy(BulkUploadLicenseRecordsRequest o)
Copy method to populate the builder with values from the given instance.BulkUploadLicenseRecordsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.BulkUploadLicenseRecordsRequest.Builder
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.BulkUploadLicenseRecordsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
bulkUploadLicenseRecordsDetails
public BulkUploadLicenseRecordsRequest.Builder bulkUploadLicenseRecordsDetails(BulkUploadLicenseRecordsDetails bulkUploadLicenseRecordsDetails)
Details required for the bulk upload of product licenses and license records.- Parameters:
bulkUploadLicenseRecordsDetails
- the value to set- Returns:
- this builder instance
-
opcRequestId
public BulkUploadLicenseRecordsRequest.Builder opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public BulkUploadLicenseRecordsRequest.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 BulkUploadLicenseRecordsRequest.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 BulkUploadLicenseRecordsRequest.Builder copy(BulkUploadLicenseRecordsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<BulkUploadLicenseRecordsRequest,BulkUploadLicenseRecordsDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public BulkUploadLicenseRecordsRequest build()
Build the instance of BulkUploadLicenseRecordsRequest 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<BulkUploadLicenseRecordsRequest,BulkUploadLicenseRecordsDetails>
- Returns:
- instance of BulkUploadLicenseRecordsRequest
-
body$
public BulkUploadLicenseRecordsRequest.Builder body$(BulkUploadLicenseRecordsDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<BulkUploadLicenseRecordsRequest,BulkUploadLicenseRecordsDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public BulkUploadLicenseRecordsRequest buildWithoutInvocationCallback()
Build the instance of BulkUploadLicenseRecordsRequest 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 BulkUploadLicenseRecordsRequest
-
-