@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class BasicConfigurationItemSummary extends ConfigurationItemSummary
Basic configuration item summary. Value field contain the most preferred value for the specified
scope (compartmentId), which could be from any of the
ConfigurationItemValueSourceConfigurationType. Default value field contains the default value
from Ops Insights.
Note: Objects should always be created or deserialized using the BasicConfigurationItemSummary.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 BasicConfigurationItemSummary.Builder
, which maintain a
set of all explicitly set fields called BasicConfigurationItemSummary.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 |
BasicConfigurationItemSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
BasicConfigurationItemSummary(String name,
String value,
ConfigurationItemValueSourceConfigurationType valueSourceConfig,
String defaultValue,
List<String> applicableContexts,
ConfigurationItemMetadata metadata)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BasicConfigurationItemSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getApplicableContexts()
List of contexts in Ops Insights where this configuration item is applicable.
|
String |
getDefaultValue()
Value of configuration item.
|
ConfigurationItemMetadata |
getMetadata() |
String |
getName()
Name of configuration item.
|
String |
getValue()
Value of configuration item.
|
ConfigurationItemValueSourceConfigurationType |
getValueSourceConfig()
Source configuration from where the value is taken for a configuration item.
|
int |
hashCode() |
BasicConfigurationItemSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public BasicConfigurationItemSummary(String name, String value, ConfigurationItemValueSourceConfigurationType valueSourceConfig, String defaultValue, List<String> applicableContexts, ConfigurationItemMetadata metadata)
public static BasicConfigurationItemSummary.Builder builder()
Create a new builder.
public BasicConfigurationItemSummary.Builder toBuilder()
public String getName()
Name of configuration item.
public String getValue()
Value of configuration item.
public ConfigurationItemValueSourceConfigurationType getValueSourceConfig()
Source configuration from where the value is taken for a configuration item.
public String getDefaultValue()
Value of configuration item.
public List<String> getApplicableContexts()
List of contexts in Ops Insights where this configuration item is applicable.
public ConfigurationItemMetadata getMetadata()
public String toString()
toString
in class ConfigurationItemSummary
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ConfigurationItemSummary
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ConfigurationItemSummary
public int hashCode()
hashCode
in class ConfigurationItemSummary
Copyright © 2016–2024. All rights reserved.