Class MatchingRule


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20220901")
    public final class MatchingRule
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    An object that defines the set of rules that identifies the target instances in a dynamic set.
    Note: Objects should always be created or deserialized using the MatchingRule.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 MatchingRule.Builder, which maintain a set of all explicitly set fields called MatchingRule.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).
    • Method Detail

      • getTags

        public List<Tag> getTags()
        The list of the managed instance tags.
        Returns:
        the value
      • getManagedInstanceIds

        public List<String> getManagedInstanceIds()
        The list of managed instance ids.
        Returns:
        the value
      • getManagedInstanceGroupIds

        public List<String> getManagedInstanceGroupIds()
        The list of managed instance group IDs.
        Returns:
        the value
      • getDisplayNames

        public List<String> getDisplayNames()
        The list of managed instance display names.
        Returns:
        the value
      • getOsNames

        public List<OsName> getOsNames()
        The list of managed instance OS names.
        Returns:
        the value
      • getArchitectures

        public List<CpuArchType> getArchitectures()
        The list of managed instance architectures.
        Returns:
        the value
      • getOsFamilies

        public List<OsFamily> getOsFamilies()
        The list of managed instance OS families.
        Returns:
        the value
      • getIsRebootRequired

        public Boolean getIsRebootRequired()
        Indicates if the managed instance needs to be rebooted.
        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