public static class ListMetricsResponse.Builder extends Object implements BmcResponse.Builder<ListMetricsResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListMetricsResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
ListMetricsResponse |
build()
Build the response object.
|
ListMetricsResponse.Builder |
copy(ListMetricsResponse o)
Copy method to populate the builder with values from the given instance.
|
ListMetricsResponse.Builder |
headers(Map<String,List<String>> headers) |
ListMetricsResponse.Builder |
items(List<Metric> items)
A list of
com.oracle.bmc.monitoring.model.Metric instances. |
ListMetricsResponse.Builder |
opcNextPage(String opcNextPage)
For list pagination.
|
ListMetricsResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNotModified
public ListMetricsResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<ListMetricsResponse>
public ListMetricsResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<ListMetricsResponse>
public ListMetricsResponse.Builder opcNextPage(String opcNextPage)
For list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see List Pagination.
opcNextPage
- the value to setpublic ListMetricsResponse.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 ListMetricsResponse.Builder items(List<Metric> items)
A list of com.oracle.bmc.monitoring.model.Metric
instances.
items
- the value to setpublic ListMetricsResponse.Builder copy(ListMetricsResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<ListMetricsResponse>
o
- other request from which to copy valuespublic ListMetricsResponse build()
Build the response object.
build
in interface BmcResponse.Builder<ListMetricsResponse>
Copyright © 2016–2024. All rights reserved.