Package com.oracle.bmc.core.requests
Class UpdateInternetGatewayRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.core.requests.UpdateInternetGatewayRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateInternetGatewayRequest,UpdateInternetGatewayDetails>
- Enclosing class:
- UpdateInternetGatewayRequest
public static class UpdateInternetGatewayRequest.Builder extends Object implements BmcRequest.Builder<UpdateInternetGatewayRequest,UpdateInternetGatewayDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateInternetGatewayRequest.Builderbody$(UpdateInternetGatewayDetails body)Alternative setter for the body parameter.UpdateInternetGatewayRequestbuild()Build the instance of UpdateInternetGatewayRequest as configured by this builderUpdateInternetGatewayRequestbuildWithoutInvocationCallback()Build the instance of UpdateInternetGatewayRequest as configured by this builderUpdateInternetGatewayRequest.Buildercopy(UpdateInternetGatewayRequest o)Copy method to populate the builder with values from the given instance.UpdateInternetGatewayRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateInternetGatewayRequest.BuilderigId(String igId)The OCID of the internet gateway.UpdateInternetGatewayRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateInternetGatewayRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateInternetGatewayRequest.BuilderupdateInternetGatewayDetails(UpdateInternetGatewayDetails updateInternetGatewayDetails)Details for updating the internet gateway.
-
-
-
Method Detail
-
igId
public UpdateInternetGatewayRequest.Builder igId(String igId)
The OCID of the internet gateway.- Parameters:
igId- the value to set- Returns:
- this builder instance
-
updateInternetGatewayDetails
public UpdateInternetGatewayRequest.Builder updateInternetGatewayDetails(UpdateInternetGatewayDetails updateInternetGatewayDetails)
Details for updating the internet gateway.- Parameters:
updateInternetGatewayDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateInternetGatewayRequest.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 UpdateInternetGatewayRequest.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 UpdateInternetGatewayRequest.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 UpdateInternetGatewayRequest.Builder copy(UpdateInternetGatewayRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateInternetGatewayRequest,UpdateInternetGatewayDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateInternetGatewayRequest build()
Build the instance of UpdateInternetGatewayRequest 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<UpdateInternetGatewayRequest,UpdateInternetGatewayDetails>- Returns:
- instance of UpdateInternetGatewayRequest
-
body$
public UpdateInternetGatewayRequest.Builder body$(UpdateInternetGatewayDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateInternetGatewayRequest,UpdateInternetGatewayDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateInternetGatewayRequest buildWithoutInvocationCallback()
Build the instance of UpdateInternetGatewayRequest 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 UpdateInternetGatewayRequest
-
-