Class RequestSummarizedMetricDataDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.ocicontrolcenter.model.RequestSummarizedMetricDataDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20230515") public final class RequestSummarizedMetricDataDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe request details for retrieving aggregated data.Use the query and optional properties to filter the returned results. 
 Note: Objects should always be created or deserialized using theRequestSummarizedMetricDataDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theRequestSummarizedMetricDataDetails.Builder, which maintain a set of all explicitly set fields calledRequestSummarizedMetricDataDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classRequestSummarizedMetricDataDetails.Builder
 - 
Constructor SummaryConstructors Constructor Description RequestSummarizedMetricDataDetails(String namespaceName, String metricName, String compartmentId, Map<String,DimensionValue> dimensions, Date startTime, Date endTime)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestSummarizedMetricDataDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The OCID of the compartment to use for authorization to read metrics.Map<String,DimensionValue>getDimensions()Qualifiers to use when searching for metric data.DategetEndTime()The end of the sampled time range to use when searching for metric data points.StringgetMetricName()The name of a metric for retrieving aggregated data.StringgetNamespaceName()The source service or application to use when searching for metric data points to aggregate.DategetStartTime()The beginning of the sampled time range to use when searching for metric data points.inthashCode()RequestSummarizedMetricDataDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
RequestSummarizedMetricDataDetails@Deprecated @ConstructorProperties({"namespaceName","metricName","compartmentId","dimensions","startTime","endTime"}) public RequestSummarizedMetricDataDetails(String namespaceName, String metricName, String compartmentId, Map<String,DimensionValue> dimensions, Date startTime, Date endTime) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static RequestSummarizedMetricDataDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic RequestSummarizedMetricDataDetails.Builder toBuilder() 
 - 
getNamespaceNamepublic String getNamespaceName() The source service or application to use when searching for metric data points to aggregate.For a list of valid namespaces, see listNamespaces.- Returns:
- the value
 
 - 
getMetricNamepublic String getMetricName() The name of a metric for retrieving aggregated data.For a list of valid metrics for a given namespace, see listMetricProperties.- Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment to use for authorization to read metrics.To use the root compartment, provide the tenancyId. - Returns:
- the value
 
 - 
getDimensionspublic Map<String,DimensionValue> getDimensions() Qualifiers to use when searching for metric data.For a list of valid dimensions for a given metric, see listMetricProperties.- Returns:
- the value
 
 - 
getStartTimepublic Date getStartTime() The beginning of the sampled time range to use when searching for metric data points.Format is defined by RFC3339. The response includes metric data points for the sampled time. Example 2019-02-01T02:02:29.600Z - Returns:
- the value
 
 - 
getEndTimepublic Date getEndTime() The end of the sampled time range to use when searching for metric data points.Format is defined by RFC3339. The response excludes metric data points for sampled time. Example 2019-02-01T02:02:29.600Z - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-