Class RemoveMigrationObjectsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemigration.requests.RemoveMigrationObjectsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<RemoveMigrationObjectsRequest,MigrationObjectCollection>
- Enclosing class:
- RemoveMigrationObjectsRequest
public static class RemoveMigrationObjectsRequest.Builder extends Object implements BmcRequest.Builder<RemoveMigrationObjectsRequest,MigrationObjectCollection>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoveMigrationObjectsRequest.Builder
body$(MigrationObjectCollection body)
Alternative setter for the body parameter.RemoveMigrationObjectsRequest
build()
Build the instance of RemoveMigrationObjectsRequest as configured by this builderRemoveMigrationObjectsRequest
buildWithoutInvocationCallback()
Build the instance of RemoveMigrationObjectsRequest as configured by this builderRemoveMigrationObjectsRequest.Builder
copy(RemoveMigrationObjectsRequest o)
Copy method to populate the builder with values from the given instance.RemoveMigrationObjectsRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.RemoveMigrationObjectsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.RemoveMigrationObjectsRequest.Builder
migrationId(String migrationId)
The OCID of the migrationRemoveMigrationObjectsRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.RemoveMigrationObjectsRequest.Builder
removeMigrationObjectsDetails(MigrationObjectCollection removeMigrationObjectsDetails)
Arrays of object.RemoveMigrationObjectsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
migrationId
public RemoveMigrationObjectsRequest.Builder migrationId(String migrationId)
The OCID of the migration- Parameters:
migrationId
- the value to set- Returns:
- this builder instance
-
removeMigrationObjectsDetails
public RemoveMigrationObjectsRequest.Builder removeMigrationObjectsDetails(MigrationObjectCollection removeMigrationObjectsDetails)
Arrays of object.- Parameters:
removeMigrationObjectsDetails
- the value to set- Returns:
- this builder instance
-
opcRequestId
public RemoveMigrationObjectsRequest.Builder opcRequestId(String opcRequestId)
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
-
ifMatch
public RemoveMigrationObjectsRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
- Parameters:
ifMatch
- the value to set- Returns:
- this builder instance
-
invocationCallback
public RemoveMigrationObjectsRequest.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 RemoveMigrationObjectsRequest.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 RemoveMigrationObjectsRequest.Builder copy(RemoveMigrationObjectsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<RemoveMigrationObjectsRequest,MigrationObjectCollection>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public RemoveMigrationObjectsRequest build()
Build the instance of RemoveMigrationObjectsRequest 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<RemoveMigrationObjectsRequest,MigrationObjectCollection>
- Returns:
- instance of RemoveMigrationObjectsRequest
-
body$
public RemoveMigrationObjectsRequest.Builder body$(MigrationObjectCollection body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<RemoveMigrationObjectsRequest,MigrationObjectCollection>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public RemoveMigrationObjectsRequest buildWithoutInvocationCallback()
Build the instance of RemoveMigrationObjectsRequest 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 RemoveMigrationObjectsRequest
-
-