public static class CreateRunRequest.Builder extends Object implements BmcRequest.Builder<CreateRunRequest,CreateRunDetails>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateRunRequest.Builder |
body$(CreateRunDetails body)
Alternative setter for the body parameter.
|
CreateRunRequest |
build()
Build the instance of CreateRunRequest as configured by this builder
|
CreateRunRequest |
buildWithoutInvocationCallback()
Build the instance of CreateRunRequest as configured by this builder
|
CreateRunRequest.Builder |
copy(CreateRunRequest o)
Copy method to populate the builder with values from the given instance.
|
CreateRunRequest.Builder |
createRunDetails(CreateRunDetails createRunDetails)
Details for creating a run of an application.
|
CreateRunRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
CreateRunRequest.Builder |
opcParentRptUrl(String opcParentRptUrl)
(Optional header param, required for Resource Principal version 3.0+) Parent resource
control plane endpoint used to exchange for upper level resource principal token.
|
CreateRunRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
CreateRunRequest.Builder |
opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of executing that same action again.
|
CreateRunRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
public CreateRunRequest.Builder createRunDetails(CreateRunDetails createRunDetails)
Details for creating a run of an application.
createRunDetails
- the value to setpublic CreateRunRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected.
opcRetryToken
- the value to setpublic CreateRunRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request. If provided, the returned request ID will include this value. Otherwise, a random request ID will be generated by the service.
opcRequestId
- the value to setpublic CreateRunRequest.Builder opcParentRptUrl(String opcParentRptUrl)
(Optional header param, required for Resource Principal version 3.0+) Parent resource control plane endpoint used to exchange for upper level resource principal token.
opcParentRptUrl
- the value to setpublic CreateRunRequest.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 CreateRunRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic CreateRunRequest.Builder copy(CreateRunRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<CreateRunRequest,CreateRunDetails>
o
- other request from which to copy valuespublic CreateRunRequest build()
Build the instance of CreateRunRequest 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<CreateRunRequest,CreateRunDetails>
public CreateRunRequest.Builder body$(CreateRunDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<CreateRunRequest,CreateRunDetails>
body
- the body parameterpublic CreateRunRequest buildWithoutInvocationCallback()
Build the instance of CreateRunRequest 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.