Class BasicConfigurationItemSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.opsi.model.ConfigurationItemSummary
-
- com.oracle.bmc.opsi.model.BasicConfigurationItemSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class BasicConfigurationItemSummary extends ConfigurationItemSummaryBasic 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 theBasicConfigurationItemSummary.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 theBasicConfigurationItemSummary.Builder, which maintain a set of all explicitly set fields calledBasicConfigurationItemSummary.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 classBasicConfigurationItemSummary.Builder
-
Constructor Summary
Constructors Constructor Description BasicConfigurationItemSummary(String name, String value, ConfigurationItemValueSourceConfigurationType valueSourceConfig, String defaultValue, List<String> applicableContexts, ConfigurationItemMetadata metadata)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BasicConfigurationItemSummary.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getApplicableContexts()List of contexts in Ops Insights where this configuration item is applicable.StringgetDefaultValue()Value of configuration item.ConfigurationItemMetadatagetMetadata()StringgetName()Name of configuration item.StringgetValue()Value of configuration item.ConfigurationItemValueSourceConfigurationTypegetValueSourceConfig()Source configuration from where the value is taken for a configuration item.inthashCode()BasicConfigurationItemSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
BasicConfigurationItemSummary
@Deprecated public BasicConfigurationItemSummary(String name, String value, ConfigurationItemValueSourceConfigurationType valueSourceConfig, String defaultValue, List<String> applicableContexts, ConfigurationItemMetadata metadata)
Deprecated.
-
-
Method Detail
-
builder
public static BasicConfigurationItemSummary.Builder builder()
Create a new builder.
-
toBuilder
public BasicConfigurationItemSummary.Builder toBuilder()
-
getName
public String getName()
Name of configuration item.- Returns:
- the value
-
getValue
public String getValue()
Value of configuration item.- Returns:
- the value
-
getValueSourceConfig
public ConfigurationItemValueSourceConfigurationType getValueSourceConfig()
Source configuration from where the value is taken for a configuration item.- Returns:
- the value
-
getDefaultValue
public String getDefaultValue()
Value of configuration item.- Returns:
- the value
-
getApplicableContexts
public List<String> getApplicableContexts()
List of contexts in Ops Insights where this configuration item is applicable.- Returns:
- the value
-
getMetadata
public ConfigurationItemMetadata getMetadata()
-
toString
public String toString()
- Overrides:
toStringin classConfigurationItemSummary
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classConfigurationItemSummary- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classConfigurationItemSummary
-
hashCode
public int hashCode()
- Overrides:
hashCodein classConfigurationItemSummary
-
-