public static class RequestUsageCarbonEmissionsResponse.Builder extends Object implements BmcResponse.Builder<RequestUsageCarbonEmissionsResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RequestUsageCarbonEmissionsResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
RequestUsageCarbonEmissionsResponse |
build()
Build the response object.
|
RequestUsageCarbonEmissionsResponse.Builder |
copy(RequestUsageCarbonEmissionsResponse o)
Copy method to populate the builder with values from the given instance.
|
RequestUsageCarbonEmissionsResponse.Builder |
headers(Map<String,List<String>> headers) |
RequestUsageCarbonEmissionsResponse.Builder |
opcNextPage(String opcNextPage)
For pagination of a list of items.
|
RequestUsageCarbonEmissionsResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
RequestUsageCarbonEmissionsResponse.Builder |
usageCarbonEmissionAggregation(UsageCarbonEmissionAggregation usageCarbonEmissionAggregation)
The returned
UsageCarbonEmissionAggregation instance. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public RequestUsageCarbonEmissionsResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<RequestUsageCarbonEmissionsResponse>
public RequestUsageCarbonEmissionsResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<RequestUsageCarbonEmissionsResponse>
public RequestUsageCarbonEmissionsResponse.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 RequestUsageCarbonEmissionsResponse.Builder opcNextPage(String opcNextPage)
For pagination of a list of items. When paging through a list, if this header appears in
the response, then a partial list might have been returned. Include this value as the
page
parameter for the subsequent GET request to get the next batch of items.
opcNextPage
- the value to setpublic RequestUsageCarbonEmissionsResponse.Builder usageCarbonEmissionAggregation(UsageCarbonEmissionAggregation usageCarbonEmissionAggregation)
The returned UsageCarbonEmissionAggregation
instance.
usageCarbonEmissionAggregation
- the value to setpublic RequestUsageCarbonEmissionsResponse.Builder copy(RequestUsageCarbonEmissionsResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<RequestUsageCarbonEmissionsResponse>
o
- other request from which to copy valuespublic RequestUsageCarbonEmissionsResponse build()
Build the response object.
build
in interface BmcResponse.Builder<RequestUsageCarbonEmissionsResponse>
Copyright © 2016–2024. All rights reserved.