Class MatchingRule
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osmanagementhub.model.MatchingRule
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class MatchingRule extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAn 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 theMatchingRule.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 theMatchingRule.Builder, which maintain a set of all explicitly set fields calledMatchingRule.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 classMatchingRule.Builder
-
Constructor Summary
Constructors Constructor Description MatchingRule(List<Tag> tags, List<String> managedInstanceIds, List<String> managedInstanceGroupIds, List<String> displayNames, List<OsName> osNames, List<CpuArchType> architectures, List<OsFamily> osFamilies, List<ManagedInstanceStatus> statuses, List<ManagedInstanceLocation> locations, Boolean isRebootRequired)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MatchingRule.Builderbuilder()Create a new builder.booleanequals(Object o)List<CpuArchType>getArchitectures()The list of managed instance architectures.List<String>getDisplayNames()The list of managed instance display names.BooleangetIsRebootRequired()Indicates if the managed instance needs to be rebooted.List<ManagedInstanceLocation>getLocations()The list of managed instance locations.List<String>getManagedInstanceGroupIds()The list of managed instance group IDs.List<String>getManagedInstanceIds()The list of managed instance ids.List<OsFamily>getOsFamilies()The list of managed instance OS families.List<OsName>getOsNames()The list of managed instance OS names.List<ManagedInstanceStatus>getStatuses()The list of managed instance statuses.List<Tag>getTags()The list of the managed instance tags.inthashCode()MatchingRule.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
MatchingRule
@Deprecated @ConstructorProperties({"tags","managedInstanceIds","managedInstanceGroupIds","displayNames","osNames","architectures","osFamilies","statuses","locations","isRebootRequired"}) public MatchingRule(List<Tag> tags, List<String> managedInstanceIds, List<String> managedInstanceGroupIds, List<String> displayNames, List<OsName> osNames, List<CpuArchType> architectures, List<OsFamily> osFamilies, List<ManagedInstanceStatus> statuses, List<ManagedInstanceLocation> locations, Boolean isRebootRequired)
Deprecated.
-
-
Method Detail
-
builder
public static MatchingRule.Builder builder()
Create a new builder.
-
toBuilder
public MatchingRule.Builder toBuilder()
-
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
-
getStatuses
public List<ManagedInstanceStatus> getStatuses()
The list of managed instance statuses.- Returns:
- the value
-
getLocations
public List<ManagedInstanceLocation> getLocations()
The list of managed instance locations.- Returns:
- the value
-
getIsRebootRequired
public Boolean getIsRebootRequired()
Indicates if the managed instance needs to be rebooted.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-