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 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 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 class
BasicConfigurationItemSummary.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.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.
-
-
-
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:
toString
in classConfigurationItemSummary
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classConfigurationItemSummary
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classConfigurationItemSummary
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classConfigurationItemSummary
-
-