public static class CreateApiRequest.Builder extends Object implements BmcRequest.Builder<CreateApiRequest,CreateApiDetails>
| Modifier and Type | Method and Description |
|---|---|
CreateApiRequest.Builder |
body$(CreateApiDetails body)
Alternative setter for the body parameter.
|
CreateApiRequest |
build()
Build the instance of CreateApiRequest as configured by this builder
|
CreateApiRequest |
buildWithoutInvocationCallback() |
CreateApiRequest.Builder |
copy(CreateApiRequest o)
Copy method to populate the builder with values from the given instance.
|
CreateApiRequest.Builder |
createApiDetails(CreateApiDetails createApiDetails) |
CreateApiRequest.Builder |
invocationCallback(com.oracle.bmc.util.internal.Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
CreateApiRequest.Builder |
opcRequestId(String opcRequestId) |
CreateApiRequest.Builder |
opcRetryToken(String opcRetryToken) |
CreateApiRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
String |
toString() |
public CreateApiRequest.Builder invocationCallback(com.oracle.bmc.util.internal.Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback - the invocation callback to be set for the requestpublic CreateApiRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration - the retry configuration to be used for the requestpublic CreateApiRequest.Builder copy(CreateApiRequest o)
Copy method to populate the builder with values from the given instance.
copy in interface BmcRequest.Builder<CreateApiRequest,CreateApiDetails>public CreateApiRequest build()
Build the instance of CreateApiRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer) into account,
while the method buildWithoutInvocationCallback() does not.
This is the preferred method to build an instance.
build in interface BmcRequest.Builder<CreateApiRequest,CreateApiDetails>public CreateApiRequest.Builder body$(CreateApiDetails body)
Alternative setter for the body parameter.
body$ in interface BmcRequest.Builder<CreateApiRequest,CreateApiDetails>body - the body parameterpublic CreateApiRequest.Builder createApiDetails(CreateApiDetails createApiDetails)
public CreateApiRequest.Builder opcRetryToken(String opcRetryToken)
public CreateApiRequest.Builder opcRequestId(String opcRequestId)
public CreateApiRequest buildWithoutInvocationCallback()
Copyright © 2016–2021. All rights reserved.