Class UpdateNodePoolRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.containerengine.requests.UpdateNodePoolRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateNodePoolRequest,UpdateNodePoolDetails>
- Enclosing class:
- UpdateNodePoolRequest
public static class UpdateNodePoolRequest.Builder extends Object implements BmcRequest.Builder<UpdateNodePoolRequest,UpdateNodePoolDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateNodePoolRequest.Builderbody$(UpdateNodePoolDetails body)Alternative setter for the body parameter.UpdateNodePoolRequestbuild()Build the instance of UpdateNodePoolRequest as configured by this builderUpdateNodePoolRequestbuildWithoutInvocationCallback()Build the instance of UpdateNodePoolRequest as configured by this builderUpdateNodePoolRequest.Buildercopy(UpdateNodePoolRequest o)Copy method to populate the builder with values from the given instance.UpdateNodePoolRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateNodePoolRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateNodePoolRequest.BuilderisForceDeletionAfterOverrideGraceDuration(Boolean isForceDeletionAfterOverrideGraceDuration)If the underlying compute instance should be deleted if you cannot evict all the pods in grace periodUpdateNodePoolRequest.BuildernodePoolId(String nodePoolId)The OCID of the node pool.UpdateNodePoolRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.UpdateNodePoolRequest.BuilderoverrideEvictionGraceDuration(String overrideEvictionGraceDuration)Duration after which OKE will give up eviction of the pods on the node.UpdateNodePoolRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateNodePoolRequest.BuilderupdateNodePoolDetails(UpdateNodePoolDetails updateNodePoolDetails)The fields to update in a node pool.
-
-
-
Method Detail
-
nodePoolId
public UpdateNodePoolRequest.Builder nodePoolId(String nodePoolId)
The OCID of the node pool.- Parameters:
nodePoolId- the value to set- Returns:
- this builder instance
-
updateNodePoolDetails
public UpdateNodePoolRequest.Builder updateNodePoolDetails(UpdateNodePoolDetails updateNodePoolDetails)
The fields to update in a node pool.- Parameters:
updateNodePoolDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateNodePoolRequest.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
-
opcRequestId
public UpdateNodePoolRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
overrideEvictionGraceDuration
public UpdateNodePoolRequest.Builder overrideEvictionGraceDuration(String overrideEvictionGraceDuration)
Duration after which OKE will give up eviction of the pods on the node.PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M
- Parameters:
overrideEvictionGraceDuration- the value to set- Returns:
- this builder instance
-
isForceDeletionAfterOverrideGraceDuration
public UpdateNodePoolRequest.Builder isForceDeletionAfterOverrideGraceDuration(Boolean isForceDeletionAfterOverrideGraceDuration)
If the underlying compute instance should be deleted if you cannot evict all the pods in grace period- Parameters:
isForceDeletionAfterOverrideGraceDuration- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateNodePoolRequest.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 UpdateNodePoolRequest.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 UpdateNodePoolRequest.Builder copy(UpdateNodePoolRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateNodePoolRequest,UpdateNodePoolDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateNodePoolRequest build()
Build the instance of UpdateNodePoolRequest 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<UpdateNodePoolRequest,UpdateNodePoolDetails>- Returns:
- instance of UpdateNodePoolRequest
-
body$
public UpdateNodePoolRequest.Builder body$(UpdateNodePoolDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateNodePoolRequest,UpdateNodePoolDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateNodePoolRequest buildWithoutInvocationCallback()
Build the instance of UpdateNodePoolRequest 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 UpdateNodePoolRequest
-
-