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