public static class CreateNodePoolRequest.Builder extends Object implements BmcRequest.Builder<CreateNodePoolRequest,CreateNodePoolDetails>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateNodePoolRequest.Builder |
body$(CreateNodePoolDetails body)
Alternative setter for the body parameter.
|
CreateNodePoolRequest |
build()
Build the instance of CreateNodePoolRequest as configured by this builder
|
CreateNodePoolRequest |
buildWithoutInvocationCallback()
Build the instance of CreateNodePoolRequest as configured by this builder
|
CreateNodePoolRequest.Builder |
copy(CreateNodePoolRequest o)
Copy method to populate the builder with values from the given instance.
|
CreateNodePoolRequest.Builder |
createNodePoolDetails(CreateNodePoolDetails createNodePoolDetails)
The details of the node pool to create.
|
CreateNodePoolRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
CreateNodePoolRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
CreateNodePoolRequest.Builder |
opcRetryToken(String opcRetryToken)
A token you supply to uniquely identify the request and provide idempotency if the
request is retried.
|
CreateNodePoolRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
public CreateNodePoolRequest.Builder createNodePoolDetails(CreateNodePoolDetails createNodePoolDetails)
The details of the node pool to create.
createNodePoolDetails
- the value to setpublic CreateNodePoolRequest.Builder opcRetryToken(String opcRetryToken)
A token you supply to uniquely identify the request and provide idempotency if the request is retried. Idempotency tokens expire after 24 hours.
opcRetryToken
- the value to setpublic CreateNodePoolRequest.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.
opcRequestId
- the value to setpublic CreateNodePoolRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic CreateNodePoolRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic CreateNodePoolRequest.Builder copy(CreateNodePoolRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<CreateNodePoolRequest,CreateNodePoolDetails>
o
- other request from which to copy valuespublic CreateNodePoolRequest build()
Build the instance of CreateNodePoolRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<CreateNodePoolRequest,CreateNodePoolDetails>
public CreateNodePoolRequest.Builder body$(CreateNodePoolDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<CreateNodePoolRequest,CreateNodePoolDetails>
body
- the body parameterpublic CreateNodePoolRequest buildWithoutInvocationCallback()
Build the instance of CreateNodePoolRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.