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.ExplicitlySetBmcModel
Summary 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 class
MetricExtensionSummary.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.Builder
builder()
Create a new builder.boolean
equals(Object o)
MetricExtensionCollectionMethods
getCollectionMethod()
Type of possible collection methods.String
getCompartmentId()
Compartment Identifier OCIDString
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 extensionString
getName()
Metric Extension Resource name.String
getResourceType()
Resource type to which Metric Extension appliesString
getResourceUri()
The URI path that the user can do a GET on to access the metric extension metadataMetricExtensionLifeCycleDetails
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.
-
-
-
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:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-