Class LogAnalyticsSourceLabelCondition


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200601")
    public final class LogAnalyticsSourceLabelCondition
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    LogAnalyticsSourceLabelCondition
    Note: Objects should always be created or deserialized using the LogAnalyticsSourceLabelCondition.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 LogAnalyticsSourceLabelCondition.Builder, which maintain a set of all explicitly set fields called LogAnalyticsSourceLabelCondition.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).

    • Constructor Detail

      • LogAnalyticsSourceLabelCondition

        @Deprecated
        @ConstructorProperties({"conditionString","conditionBlock","message","isVisible","blockConditionField","blockConditionOperator","blockConditionValue","labelConditionValue","labelConditionValues","contentExample","isEnabled","fieldName","labelConditionId","isSystem","labelConditionOperator","sourceId","labelDisplayName","storageField","labelName","isInlineLabelExistingInDatabase"})
        public LogAnalyticsSourceLabelCondition​(String conditionString,
                                                ConditionBlock conditionBlock,
                                                String message,
                                                Boolean isVisible,
                                                String blockConditionField,
                                                String blockConditionOperator,
                                                String blockConditionValue,
                                                String labelConditionValue,
                                                List<String> labelConditionValues,
                                                String contentExample,
                                                Boolean isEnabled,
                                                String fieldName,
                                                Long labelConditionId,
                                                Boolean isSystem,
                                                String labelConditionOperator,
                                                Long sourceId,
                                                String labelDisplayName,
                                                String storageField,
                                                String labelName,
                                                Boolean isInlineLabelExistingInDatabase)
        Deprecated.
    • Method Detail

      • getConditionString

        public String getConditionString()
        String representation of the label condition.

        This supports specifying multiple condition blocks at various nested levels.

        Returns:
        the value
      • getMessage

        public String getMessage()
        The message.
        Returns:
        the value
      • getIsVisible

        public Boolean getIsVisible()
        A flag indicating whether or not the label condition is visible.
        Returns:
        the value
      • getBlockConditionField

        public String getBlockConditionField()
        The block condition field.
        Returns:
        the value
      • getBlockConditionOperator

        public String getBlockConditionOperator()
        The block condition operator.
        Returns:
        the value
      • getBlockConditionValue

        public String getBlockConditionValue()
        The block condition value.
        Returns:
        the value
      • getLabelConditionValue

        public String getLabelConditionValue()
        The condition value.
        Returns:
        the value
      • getLabelConditionValues

        public List<String> getLabelConditionValues()
        A list of condition values.
        Returns:
        the value
      • getContentExample

        public String getContentExample()
        The content example.
        Returns:
        the value
      • getIsEnabled

        public Boolean getIsEnabled()
        A flag inidcating whether or not the condition is enabled.
        Returns:
        the value
      • getFieldName

        public String getFieldName()
        The internal field name.
        Returns:
        the value
      • getLabelConditionId

        public Long getLabelConditionId()
        The unique identifier of the condition.
        Returns:
        the value
      • getIsSystem

        public Boolean getIsSystem()
        The system flag.

        A value of false denotes a custom, or user defined object. A value of true denotes a built in object.

        Returns:
        the value
      • getLabelConditionOperator

        public String getLabelConditionOperator()
        The condition operator.
        Returns:
        the value
      • getSourceId

        public Long getSourceId()
        The unique identifier of the source.
        Returns:
        the value
      • getLabelDisplayName

        public String getLabelDisplayName()
        The label display name.
        Returns:
        the value
      • getStorageField

        public String getStorageField()
        The label storage field.
        Returns:
        the value
      • getLabelName

        public String getLabelName()
        The label name.
        Returns:
        the value
      • getIsInlineLabelExistingInDatabase

        public Boolean getIsInlineLabelExistingInDatabase()
        A flag indicating whether or not the inline label exists in the database.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel