public static class CreateWorkloadMappingRequest.Builder extends Object implements BmcRequest.Builder<CreateWorkloadMappingRequest,CreateWorkloadMappingDetails>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateWorkloadMappingRequest.Builder |
body$(CreateWorkloadMappingDetails body)
Alternative setter for the body parameter.
|
CreateWorkloadMappingRequest |
build()
Build the instance of CreateWorkloadMappingRequest as configured by this builder
|
CreateWorkloadMappingRequest |
buildWithoutInvocationCallback()
Build the instance of CreateWorkloadMappingRequest as configured by this builder
|
CreateWorkloadMappingRequest.Builder |
clusterId(String clusterId)
The OCID of the cluster.
|
CreateWorkloadMappingRequest.Builder |
copy(CreateWorkloadMappingRequest o)
Copy method to populate the builder with values from the given instance.
|
CreateWorkloadMappingRequest.Builder |
createWorkloadMappingDetails(CreateWorkloadMappingDetails createWorkloadMappingDetails)
The details of the workloadMapping to be create.
|
CreateWorkloadMappingRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
CreateWorkloadMappingRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
CreateWorkloadMappingRequest.Builder |
opcRetryToken(String opcRetryToken)
A token you supply to uniquely identify the request and provide idempotency if the
request is retried.
|
CreateWorkloadMappingRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
public CreateWorkloadMappingRequest.Builder clusterId(String clusterId)
The OCID of the cluster.
clusterId
- the value to setpublic CreateWorkloadMappingRequest.Builder createWorkloadMappingDetails(CreateWorkloadMappingDetails createWorkloadMappingDetails)
The details of the workloadMapping to be create.
createWorkloadMappingDetails
- the value to setpublic CreateWorkloadMappingRequest.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 CreateWorkloadMappingRequest.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 CreateWorkloadMappingRequest.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 CreateWorkloadMappingRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic CreateWorkloadMappingRequest.Builder copy(CreateWorkloadMappingRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<CreateWorkloadMappingRequest,CreateWorkloadMappingDetails>
o
- other request from which to copy valuespublic CreateWorkloadMappingRequest build()
Build the instance of CreateWorkloadMappingRequest 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<CreateWorkloadMappingRequest,CreateWorkloadMappingDetails>
public CreateWorkloadMappingRequest.Builder body$(CreateWorkloadMappingDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<CreateWorkloadMappingRequest,CreateWorkloadMappingDetails>
body
- the body parameterpublic CreateWorkloadMappingRequest buildWithoutInvocationCallback()
Build the instance of CreateWorkloadMappingRequest 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.