Package com.oracle.bmc.core.requests
Class UpdateDrgRouteRulesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.core.requests.UpdateDrgRouteRulesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateDrgRouteRulesRequest,UpdateDrgRouteRulesDetails>
- Enclosing class:
- UpdateDrgRouteRulesRequest
public static class UpdateDrgRouteRulesRequest.Builder extends Object implements BmcRequest.Builder<UpdateDrgRouteRulesRequest,UpdateDrgRouteRulesDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDrgRouteRulesRequest.Builderbody$(UpdateDrgRouteRulesDetails body)Alternative setter for the body parameter.UpdateDrgRouteRulesRequestbuild()Build the instance of UpdateDrgRouteRulesRequest as configured by this builderUpdateDrgRouteRulesRequestbuildWithoutInvocationCallback()Build the instance of UpdateDrgRouteRulesRequest as configured by this builderUpdateDrgRouteRulesRequest.Buildercopy(UpdateDrgRouteRulesRequest o)Copy method to populate the builder with values from the given instance.UpdateDrgRouteRulesRequest.BuilderdrgRouteTableId(String drgRouteTableId)The OCID of the DRG route table.UpdateDrgRouteRulesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateDrgRouteRulesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateDrgRouteRulesRequest.BuilderupdateDrgRouteRulesDetails(UpdateDrgRouteRulesDetails updateDrgRouteRulesDetails)Request to update one or more route rules in the DRG route table.
-
-
-
Method Detail
-
drgRouteTableId
public UpdateDrgRouteRulesRequest.Builder drgRouteTableId(String drgRouteTableId)
The OCID of the DRG route table.- Parameters:
drgRouteTableId- the value to set- Returns:
- this builder instance
-
updateDrgRouteRulesDetails
public UpdateDrgRouteRulesRequest.Builder updateDrgRouteRulesDetails(UpdateDrgRouteRulesDetails updateDrgRouteRulesDetails)
Request to update one or more route rules in the DRG route table.- Parameters:
updateDrgRouteRulesDetails- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateDrgRouteRulesRequest.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 UpdateDrgRouteRulesRequest.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 UpdateDrgRouteRulesRequest.Builder copy(UpdateDrgRouteRulesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateDrgRouteRulesRequest,UpdateDrgRouteRulesDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateDrgRouteRulesRequest build()
Build the instance of UpdateDrgRouteRulesRequest 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<UpdateDrgRouteRulesRequest,UpdateDrgRouteRulesDetails>- Returns:
- instance of UpdateDrgRouteRulesRequest
-
body$
public UpdateDrgRouteRulesRequest.Builder body$(UpdateDrgRouteRulesDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateDrgRouteRulesRequest,UpdateDrgRouteRulesDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateDrgRouteRulesRequest buildWithoutInvocationCallback()
Build the instance of UpdateDrgRouteRulesRequest 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 UpdateDrgRouteRulesRequest
-
-