Class MetricExtensionSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.stackmonitoring.model.MetricExtensionSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210330") public final class MetricExtensionSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary information about metric extension resources
Note: Objects should always be created or deserialized using theMetricExtensionSummary.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 calledMetricExtensionSummary.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 Summary
Nested Classes Modifier and Type Class Description static classMetricExtensionSummary.Builder
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricExtensionSummary.Builderbuilder()Create a new builder.booleanequals(Object o)MetricExtensionCollectionMethodsgetCollectionMethod()Type of possible collection methods.StringgetCompartmentId()Compartment Identifier OCIDStringgetDescription()Description of the metric extension.StringgetDisplayName()Metric Extension resource display name.IntegergetEnabledOnResourcesCount()Count of resources on which this metric extension is enabled.StringgetId()The OCID of metric extension.MetricExtensionLifeCycleStatesgetLifecycleState()The current lifecycle state of the metric extensionStringgetName()Metric Extension Resource name.StringgetResourceType()Resource type to which Metric Extension appliesStringgetResourceUri()The URI path that the user can do a GET on to access the metric extension metadataMetricExtensionLifeCycleDetailsgetStatus()The current state of the metric extension.DategetTimeCreated()Metric Extension creation time.DategetTimeUpdated()Metric Extension updation time.inthashCode()MetricExtensionSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
MetricExtensionSummary
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static MetricExtensionSummary.Builder builder()
Create a new builder.
-
toBuilder
public MetricExtensionSummary.Builder toBuilder()
-
getName
public String getName()
Metric Extension Resource name.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
Metric Extension resource display name.- Returns:
- the value
-
getDescription
public String getDescription()
Description of the metric extension.- Returns:
- the value
-
getResourceType
public String getResourceType()
Resource type to which Metric Extension applies- Returns:
- the value
-
getStatus
public MetricExtensionLifeCycleDetails getStatus()
The current state of the metric extension.- Returns:
- the value
-
getLifecycleState
public MetricExtensionLifeCycleStates getLifecycleState()
The current lifecycle state of the metric extension- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
Metric Extension creation time.An RFC3339 formatted datetime string
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
Metric Extension updation time.An RFC3339 formatted datetime string
- Returns:
- the value
-
getCollectionMethod
public MetricExtensionCollectionMethods getCollectionMethod()
Type of possible collection methods.- Returns:
- the value
-
getEnabledOnResourcesCount
public Integer getEnabledOnResourcesCount()
Count of resources on which this metric extension is enabled.- Returns:
- the value
-
getResourceUri
public String getResourceUri()
The URI path that the user can do a GET on to access the metric extension metadata- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-