public static class GetClusterCacheMetricRequest.Builder extends Object implements BmcRequest.Builder<GetClusterCacheMetricRequest,Void>
Modifier and Type | Method and Description |
---|---|
GetClusterCacheMetricRequest |
build()
Build the instance of GetClusterCacheMetricRequest as configured by this builder
|
GetClusterCacheMetricRequest |
buildWithoutInvocationCallback() |
GetClusterCacheMetricRequest.Builder |
copy(GetClusterCacheMetricRequest o)
Copy method to populate the builder with values from the given instance.
|
GetClusterCacheMetricRequest.Builder |
endTime(String endTime)
The end time of the time range to retrieve the health metrics of a Managed Database
in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.
|
GetClusterCacheMetricRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
GetClusterCacheMetricRequest.Builder |
managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.
|
GetClusterCacheMetricRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
GetClusterCacheMetricRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
GetClusterCacheMetricRequest.Builder |
startTime(String startTime)
The start time of the time range to retrieve the health metrics of a Managed Database
in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public GetClusterCacheMetricRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic GetClusterCacheMetricRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GetClusterCacheMetricRequest.Builder copy(GetClusterCacheMetricRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GetClusterCacheMetricRequest,Void>
o
- other request from which to copy valuespublic GetClusterCacheMetricRequest build()
Build the instance of GetClusterCacheMetricRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<GetClusterCacheMetricRequest,Void>
public GetClusterCacheMetricRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.
this
.public GetClusterCacheMetricRequest.Builder startTime(String startTime)
The start time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.
this
.public GetClusterCacheMetricRequest.Builder endTime(String endTime)
The end time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.
this
.public GetClusterCacheMetricRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
this
.public GetClusterCacheMetricRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.