Package com.oracle.bmc.email.requests
Class UpdateEmailIpPoolRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.email.requests.UpdateEmailIpPoolRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateEmailIpPoolRequest,UpdateEmailIpPoolDetails>
- Enclosing class:
- UpdateEmailIpPoolRequest
public static class UpdateEmailIpPoolRequest.Builder extends Object implements BmcRequest.Builder<UpdateEmailIpPoolRequest,UpdateEmailIpPoolDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateEmailIpPoolRequest.Builderbody$(UpdateEmailIpPoolDetails body)Alternative setter for the body parameter.UpdateEmailIpPoolRequestbuild()Build the instance of UpdateEmailIpPoolRequest as configured by this builderUpdateEmailIpPoolRequestbuildWithoutInvocationCallback()Build the instance of UpdateEmailIpPoolRequest as configured by this builderUpdateEmailIpPoolRequest.Buildercopy(UpdateEmailIpPoolRequest o)Copy method to populate the builder with values from the given instance.UpdateEmailIpPoolRequest.BuilderemailIpPoolId(String emailIpPoolId)The OCID of the IpPool.UpdateEmailIpPoolRequest.BuilderifMatch(String ifMatch)Used for optimistic concurrency control.UpdateEmailIpPoolRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateEmailIpPoolRequest.BuilderisLockOverride(Boolean isLockOverride)Whether to override locks (if any exist).UpdateEmailIpPoolRequest.BuilderopcRequestId(String opcRequestId)The request ID for tracing from the systemUpdateEmailIpPoolRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateEmailIpPoolRequest.BuilderupdateEmailIpPoolDetails(UpdateEmailIpPoolDetails updateEmailIpPoolDetails)The information to be updated.
-
-
-
Method Detail
-
emailIpPoolId
public UpdateEmailIpPoolRequest.Builder emailIpPoolId(String emailIpPoolId)
The OCID of the IpPool.- Parameters:
emailIpPoolId- the value to set- Returns:
- this builder instance
-
updateEmailIpPoolDetails
public UpdateEmailIpPoolRequest.Builder updateEmailIpPoolDetails(UpdateEmailIpPoolDetails updateEmailIpPoolDetails)
The information to be updated.- Parameters:
updateEmailIpPoolDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateEmailIpPoolRequest.Builder ifMatch(String ifMatch)
Used for optimistic concurrency control.In the update or delete call for a resource, set the if-match parameter to the value of the etag from a previous get, create, or update 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
-
opcRequestId
public UpdateEmailIpPoolRequest.Builder opcRequestId(String opcRequestId)
The request ID for tracing from the system- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
isLockOverride
public UpdateEmailIpPoolRequest.Builder isLockOverride(Boolean isLockOverride)
Whether to override locks (if any exist).- Parameters:
isLockOverride- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateEmailIpPoolRequest.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 UpdateEmailIpPoolRequest.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 UpdateEmailIpPoolRequest.Builder copy(UpdateEmailIpPoolRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateEmailIpPoolRequest,UpdateEmailIpPoolDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateEmailIpPoolRequest build()
Build the instance of UpdateEmailIpPoolRequest 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<UpdateEmailIpPoolRequest,UpdateEmailIpPoolDetails>- Returns:
- instance of UpdateEmailIpPoolRequest
-
body$
public UpdateEmailIpPoolRequest.Builder body$(UpdateEmailIpPoolDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateEmailIpPoolRequest,UpdateEmailIpPoolDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateEmailIpPoolRequest buildWithoutInvocationCallback()
Build the instance of UpdateEmailIpPoolRequest 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 UpdateEmailIpPoolRequest
-
-