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