Package com.oracle.bmc.dts.requests
Class UpdateTransferDeviceRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dts.requests.UpdateTransferDeviceRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateTransferDeviceRequest,UpdateTransferDeviceDetails>
- Enclosing class:
- UpdateTransferDeviceRequest
public static class UpdateTransferDeviceRequest.Builder extends Object implements BmcRequest.Builder<UpdateTransferDeviceRequest,UpdateTransferDeviceDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateTransferDeviceRequest.Builder
body$(UpdateTransferDeviceDetails body)
Alternative setter for the body parameter.UpdateTransferDeviceRequest
build()
Build the instance of UpdateTransferDeviceRequest as configured by this builderUpdateTransferDeviceRequest
buildWithoutInvocationCallback()
Build the instance of UpdateTransferDeviceRequest as configured by this builderUpdateTransferDeviceRequest.Builder
copy(UpdateTransferDeviceRequest o)
Copy method to populate the builder with values from the given instance.UpdateTransferDeviceRequest.Builder
id(String id)
ID of the Transfer JobUpdateTransferDeviceRequest.Builder
ifMatch(String ifMatch)
The entity tag to match.UpdateTransferDeviceRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.UpdateTransferDeviceRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.UpdateTransferDeviceRequest.Builder
transferDeviceLabel(String transferDeviceLabel)
Label of the Transfer DeviceUpdateTransferDeviceRequest.Builder
updateTransferDeviceDetails(UpdateTransferDeviceDetails updateTransferDeviceDetails)
fields to update
-
-
-
Method Detail
-
id
public UpdateTransferDeviceRequest.Builder id(String id)
ID of the Transfer Job- Parameters:
id
- the value to set- Returns:
- this builder instance
-
transferDeviceLabel
public UpdateTransferDeviceRequest.Builder transferDeviceLabel(String transferDeviceLabel)
Label of the Transfer Device- Parameters:
transferDeviceLabel
- the value to set- Returns:
- this builder instance
-
updateTransferDeviceDetails
public UpdateTransferDeviceRequest.Builder updateTransferDeviceDetails(UpdateTransferDeviceDetails updateTransferDeviceDetails)
fields to update- Parameters:
updateTransferDeviceDetails
- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateTransferDeviceRequest.Builder ifMatch(String ifMatch)
The entity tag to match.Optional, if set, the update will be successful only if the object’s tag matches the tag specified in the request.
- Parameters:
ifMatch
- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateTransferDeviceRequest.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 UpdateTransferDeviceRequest.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 UpdateTransferDeviceRequest.Builder copy(UpdateTransferDeviceRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<UpdateTransferDeviceRequest,UpdateTransferDeviceDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateTransferDeviceRequest build()
Build the instance of UpdateTransferDeviceRequest 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<UpdateTransferDeviceRequest,UpdateTransferDeviceDetails>
- Returns:
- instance of UpdateTransferDeviceRequest
-
body$
public UpdateTransferDeviceRequest.Builder body$(UpdateTransferDeviceDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<UpdateTransferDeviceRequest,UpdateTransferDeviceDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateTransferDeviceRequest buildWithoutInvocationCallback()
Build the instance of UpdateTransferDeviceRequest 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 UpdateTransferDeviceRequest
-
-