Class MatchingRule.Builder
- java.lang.Object
-
- com.oracle.bmc.osmanagementhub.model.MatchingRule.Builder
-
- Enclosing class:
- MatchingRule
public static class MatchingRule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchingRule.Builderarchitectures(List<CpuArchType> architectures)The list of managed instance architectures.MatchingRulebuild()MatchingRule.Buildercopy(MatchingRule model)MatchingRule.BuilderdisplayNames(List<String> displayNames)The list of managed instance display names.MatchingRule.BuilderisRebootRequired(Boolean isRebootRequired)Indicates if the managed instance needs to be rebooted.MatchingRule.Builderlocations(List<ManagedInstanceLocation> locations)The list of managed instance locations.MatchingRule.BuildermanagedInstanceGroupIds(List<String> managedInstanceGroupIds)The list of managed instance group IDs.MatchingRule.BuildermanagedInstanceIds(List<String> managedInstanceIds)The list of managed instance ids.MatchingRule.BuilderosFamilies(List<OsFamily> osFamilies)The list of managed instance OS families.MatchingRule.BuilderosNames(List<OsName> osNames)The list of managed instance OS names.MatchingRule.Builderstatuses(List<ManagedInstanceStatus> statuses)The list of managed instance statuses.MatchingRule.Buildertags(List<Tag> tags)The list of the managed instance tags.
-
-
-
Method Detail
-
tags
public MatchingRule.Builder tags(List<Tag> tags)
The list of the managed instance tags.- Parameters:
tags- the value to set- Returns:
- this builder
-
managedInstanceIds
public MatchingRule.Builder managedInstanceIds(List<String> managedInstanceIds)
The list of managed instance ids.- Parameters:
managedInstanceIds- the value to set- Returns:
- this builder
-
managedInstanceGroupIds
public MatchingRule.Builder managedInstanceGroupIds(List<String> managedInstanceGroupIds)
The list of managed instance group IDs.- Parameters:
managedInstanceGroupIds- the value to set- Returns:
- this builder
-
displayNames
public MatchingRule.Builder displayNames(List<String> displayNames)
The list of managed instance display names.- Parameters:
displayNames- the value to set- Returns:
- this builder
-
osNames
public MatchingRule.Builder osNames(List<OsName> osNames)
The list of managed instance OS names.- Parameters:
osNames- the value to set- Returns:
- this builder
-
architectures
public MatchingRule.Builder architectures(List<CpuArchType> architectures)
The list of managed instance architectures.- Parameters:
architectures- the value to set- Returns:
- this builder
-
osFamilies
public MatchingRule.Builder osFamilies(List<OsFamily> osFamilies)
The list of managed instance OS families.- Parameters:
osFamilies- the value to set- Returns:
- this builder
-
statuses
public MatchingRule.Builder statuses(List<ManagedInstanceStatus> statuses)
The list of managed instance statuses.- Parameters:
statuses- the value to set- Returns:
- this builder
-
locations
public MatchingRule.Builder locations(List<ManagedInstanceLocation> locations)
The list of managed instance locations.- Parameters:
locations- the value to set- Returns:
- this builder
-
isRebootRequired
public MatchingRule.Builder isRebootRequired(Boolean isRebootRequired)
Indicates if the managed instance needs to be rebooted.- Parameters:
isRebootRequired- the value to set- Returns:
- this builder
-
build
public MatchingRule build()
-
copy
public MatchingRule.Builder copy(MatchingRule model)
-
-