Class GetPeerDatabaseMetricsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.databasemanagement.requests.GetPeerDatabaseMetricsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public class GetPeerDatabaseMetricsRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/databasemanagement/GetPeerDatabaseMetricsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetPeerDatabaseMetricsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetPeerDatabaseMetricsRequest.Builder
-
Constructor Summary
Constructors Constructor Description GetPeerDatabaseMetricsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetPeerDatabaseMetricsRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.CompareType
getCompareType()
The time window used for metrics comparison.String
getEndTime()
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’”.String
getFilterByMetricNames()
The filter used to retrieve a specific set of metrics by passing the desired metric names with a comma separator.String
getManagedDatabaseId()
The OCID of the Managed Database.String
getOpcRequestId()
The client request ID for tracing.String
getPeerDatabaseCompartmentId()
The OCID of the compartment for which peer database metrics are required.String
getStartTime()
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’”.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetPeerDatabaseMetricsRequest.Builder
toBuilder()
Return an instance ofGetPeerDatabaseMetricsRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getStartTime
public String getStartTime()
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’”.
-
getEndTime
public String getEndTime()
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’”.
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.
-
getPeerDatabaseCompartmentId
public String getPeerDatabaseCompartmentId()
The OCID of the compartment for which peer database metrics are required.This is not a mandatory parameter and in its absence, all the peer database metrics are returned.
-
getCompareType
public CompareType getCompareType()
The time window used for metrics comparison.
-
getFilterByMetricNames
public String getFilterByMetricNames()
The filter used to retrieve a specific set of metrics by passing the desired metric names with a comma separator.Note that, by default, the service returns all supported metrics.
-
toBuilder
public GetPeerDatabaseMetricsRequest.Builder toBuilder()
Return an instance ofGetPeerDatabaseMetricsRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
GetPeerDatabaseMetricsRequest.Builder
that allows you to modify request properties.
-
builder
public static GetPeerDatabaseMetricsRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-