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/latest/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 classGetPeerDatabaseMetricsRequest.Builder
-
Constructor Summary
Constructors Constructor Description GetPeerDatabaseMetricsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetPeerDatabaseMetricsRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.CompareTypegetCompareType()The time window used for metrics comparison.StringgetEndTime()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’”.StringgetFilterByMetricNames()The filter used to retrieve a specific set of metrics by passing the desired metric names with a comma separator.StringgetManagedDatabaseId()The OCID of the Managed Database.StringgetOpcRequestId()The client request ID for tracing.StringgetPeerDatabaseCompartmentId()The OCID of the compartment for which peer database metrics are required.StringgetStartTime()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’”.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetPeerDatabaseMetricsRequest.BuildertoBuilder()Return an instance ofGetPeerDatabaseMetricsRequest.Builderthat allows you to modify request properties.StringtoString()-
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.Builderthat allows you to modify request properties.- Returns:
- instance of
GetPeerDatabaseMetricsRequest.Builderthat 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:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-