Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Request.Builder |
action(String action)
The HTTP method of the request.
|
Request |
build() |
Request.Builder |
copy(Request model) |
Request.Builder |
headers(Map<String,List<String>> headers)
The HTTP header fields and values in the request.
|
Request.Builder |
id(String id)
The opc-request-id of the request.
|
Request.Builder |
parameters(Map<String,List<String>> parameters)
The parameters supplied by the caller during this operation.
|
Request.Builder |
path(String path)
The full path of the API request.
|
public Request.Builder id(String id)
The opc-request-id of the request.
id
- the value to setpublic Request.Builder path(String path)
The full path of the API request.
Example: /20160918/instances/ocid1.instance.oc1.phx.<unique_ID>
path
- the value to setpublic Request.Builder action(String action)
The HTTP method of the request.
Example: GET
action
- the value to setpublic Request.Builder parameters(Map<String,List<String>> parameters)
The parameters supplied by the caller during this operation.
parameters
- the value to setpublic Request.Builder headers(Map<String,List<String>> headers)
The HTTP header fields and values in the request.
Example:
----- { "opc-principal": [
"{\\"tenantId\\":\\"ocid1.tenancy.oc1..
headers
- the value to setpublic Request build()
public Request.Builder copy(Request model)
Copyright © 2016–2024. All rights reserved.