Package com.oracle.bmc.dts.requests
Class UpdateTransferApplianceRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dts.requests.UpdateTransferApplianceRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateTransferApplianceRequest,UpdateTransferApplianceDetails>
- Enclosing class:
- UpdateTransferApplianceRequest
public static class UpdateTransferApplianceRequest.Builder extends Object implements BmcRequest.Builder<UpdateTransferApplianceRequest,UpdateTransferApplianceDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateTransferApplianceRequest.Builderbody$(UpdateTransferApplianceDetails body)Alternative setter for the body parameter.UpdateTransferApplianceRequestbuild()Build the instance of UpdateTransferApplianceRequest as configured by this builderUpdateTransferApplianceRequestbuildWithoutInvocationCallback()Build the instance of UpdateTransferApplianceRequest as configured by this builderUpdateTransferApplianceRequest.Buildercopy(UpdateTransferApplianceRequest o)Copy method to populate the builder with values from the given instance.UpdateTransferApplianceRequest.Builderid(String id)ID of the Transfer JobUpdateTransferApplianceRequest.BuilderifMatch(String ifMatch)The entity tag to match.UpdateTransferApplianceRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateTransferApplianceRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateTransferApplianceRequest.BuildertransferApplianceLabel(String transferApplianceLabel)Label of the Transfer ApplianceUpdateTransferApplianceRequest.BuilderupdateTransferApplianceDetails(UpdateTransferApplianceDetails updateTransferApplianceDetails)fields to update
-
-
-
Method Detail
-
id
public UpdateTransferApplianceRequest.Builder id(String id)
ID of the Transfer Job- Parameters:
id- the value to set- Returns:
- this builder instance
-
transferApplianceLabel
public UpdateTransferApplianceRequest.Builder transferApplianceLabel(String transferApplianceLabel)
Label of the Transfer Appliance- Parameters:
transferApplianceLabel- the value to set- Returns:
- this builder instance
-
updateTransferApplianceDetails
public UpdateTransferApplianceRequest.Builder updateTransferApplianceDetails(UpdateTransferApplianceDetails updateTransferApplianceDetails)
fields to update- Parameters:
updateTransferApplianceDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateTransferApplianceRequest.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 UpdateTransferApplianceRequest.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 UpdateTransferApplianceRequest.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 UpdateTransferApplianceRequest.Builder copy(UpdateTransferApplianceRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateTransferApplianceRequest,UpdateTransferApplianceDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateTransferApplianceRequest build()
Build the instance of UpdateTransferApplianceRequest 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<UpdateTransferApplianceRequest,UpdateTransferApplianceDetails>- Returns:
- instance of UpdateTransferApplianceRequest
-
body$
public UpdateTransferApplianceRequest.Builder body$(UpdateTransferApplianceDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateTransferApplianceRequest,UpdateTransferApplianceDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateTransferApplianceRequest buildWithoutInvocationCallback()
Build the instance of UpdateTransferApplianceRequest 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 UpdateTransferApplianceRequest
-
-