@Generated(value="OracleSDKGenerator", comments="API Version: 20210330") public final class MetricExtensionSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary information about metric extension resources
Note: Objects should always be created or deserialized using the MetricExtensionSummary.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 the MetricExtensionSummary.Builder
, which maintain a
set of all explicitly set fields called MetricExtensionSummary.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
MetricExtensionSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
MetricExtensionSummary(String id,
String name,
String displayName,
String description,
String resourceType,
String compartmentId,
MetricExtensionLifeCycleDetails status,
MetricExtensionLifeCycleStates lifecycleState,
Date timeCreated,
Date timeUpdated,
MetricExtensionCollectionMethods collectionMethod,
Integer enabledOnResourcesCount,
String resourceUri)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MetricExtensionSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
MetricExtensionCollectionMethods |
getCollectionMethod()
Type of possible collection methods.
|
String |
getCompartmentId()
Compartment Identifier
OCID
|
String |
getDescription()
Description of the metric extension.
|
String |
getDisplayName()
Metric Extension resource display name.
|
Integer |
getEnabledOnResourcesCount()
Count of resources on which this metric extension is enabled.
|
String |
getId()
The OCID of metric
extension.
|
MetricExtensionLifeCycleStates |
getLifecycleState()
The current lifecycle state of the metric extension
|
String |
getName()
Metric Extension Resource name.
|
String |
getResourceType()
Resource type to which Metric Extension applies
|
String |
getResourceUri()
The URI path that the user can do a GET on to access the metric extension metadata
|
MetricExtensionLifeCycleDetails |
getStatus()
The current state of the metric extension.
|
Date |
getTimeCreated()
Metric Extension creation time.
|
Date |
getTimeUpdated()
Metric Extension updation time.
|
int |
hashCode() |
MetricExtensionSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","name","displayName","description","resourceType","compartmentId","status","lifecycleState","timeCreated","timeUpdated","collectionMethod","enabledOnResourcesCount","resourceUri"}) public MetricExtensionSummary(String id, String name, String displayName, String description, String resourceType, String compartmentId, MetricExtensionLifeCycleDetails status, MetricExtensionLifeCycleStates lifecycleState, Date timeCreated, Date timeUpdated, MetricExtensionCollectionMethods collectionMethod, Integer enabledOnResourcesCount, String resourceUri)
public static MetricExtensionSummary.Builder builder()
Create a new builder.
public MetricExtensionSummary.Builder toBuilder()
public String getName()
Metric Extension Resource name.
public String getDisplayName()
Metric Extension resource display name.
public String getDescription()
Description of the metric extension.
public String getResourceType()
Resource type to which Metric Extension applies
public MetricExtensionLifeCycleDetails getStatus()
The current state of the metric extension.
public MetricExtensionLifeCycleStates getLifecycleState()
The current lifecycle state of the metric extension
public Date getTimeCreated()
Metric Extension creation time. An RFC3339 formatted datetime string
public Date getTimeUpdated()
Metric Extension updation time. An RFC3339 formatted datetime string
public MetricExtensionCollectionMethods getCollectionMethod()
Type of possible collection methods.
public Integer getEnabledOnResourcesCount()
Count of resources on which this metric extension is enabled.
public String getResourceUri()
The URI path that the user can do a GET on to access the metric extension metadata
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.