public static class CreateUsagePlanResponse.Builder extends Object implements BmcResponse.Builder<CreateUsagePlanResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateUsagePlanResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
CreateUsagePlanResponse |
build()
Build the response object.
|
CreateUsagePlanResponse.Builder |
copy(CreateUsagePlanResponse o)
Copy method to populate the builder with values from the given instance.
|
CreateUsagePlanResponse.Builder |
etag(String etag)
For optimistic concurrency control.
|
CreateUsagePlanResponse.Builder |
headers(Map<String,List<String>> headers) |
CreateUsagePlanResponse.Builder |
location(String location)
Location of the resource.
|
CreateUsagePlanResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
CreateUsagePlanResponse.Builder |
opcWorkRequestId(String opcWorkRequestId)
The OCID of the work request.
|
CreateUsagePlanResponse.Builder |
usagePlan(UsagePlan usagePlan)
The returned
UsagePlan instance. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public CreateUsagePlanResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<CreateUsagePlanResponse>
public CreateUsagePlanResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<CreateUsagePlanResponse>
public CreateUsagePlanResponse.Builder etag(String etag)
For optimistic concurrency control. See if-match
.
etag
- the value to setpublic CreateUsagePlanResponse.Builder opcWorkRequestId(String opcWorkRequestId)
The OCID of the work request. Use getWorkRequest
with this id to track the status of the request.
opcWorkRequestId
- the value to setpublic CreateUsagePlanResponse.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 CreateUsagePlanResponse.Builder location(String location)
Location of the resource.
location
- the value to setpublic CreateUsagePlanResponse.Builder usagePlan(UsagePlan usagePlan)
The returned UsagePlan
instance.
usagePlan
- the value to setpublic CreateUsagePlanResponse.Builder copy(CreateUsagePlanResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<CreateUsagePlanResponse>
o
- other request from which to copy valuespublic CreateUsagePlanResponse build()
Build the response object.
build
in interface BmcResponse.Builder<CreateUsagePlanResponse>
Copyright © 2016–2024. All rights reserved.