Package odata.msgraph.client.beta.entity
Class DeviceHealthScriptAssignment.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.DeviceHealthScriptAssignment.Builder
-
- Enclosing class:
- DeviceHealthScriptAssignment
public static final class DeviceHealthScriptAssignment.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceHealthScriptAssignmentbuild()DeviceHealthScriptAssignment.Builderid(String id)DeviceHealthScriptAssignment.BuilderrunRemediationScript(Boolean runRemediationScript)“Determine whether we want to run detection script only or run both detection script and remediation script”DeviceHealthScriptAssignment.BuilderrunSchedule(DeviceHealthScriptRunSchedule runSchedule)“Script run schedule for the target group”DeviceHealthScriptAssignment.Buildertarget(DeviceAndAppManagementAssignmentTarget target)“The Azure Active Directory group we are targeting the script to”
-
-
-
Method Detail
-
id
public DeviceHealthScriptAssignment.Builder id(String id)
-
runRemediationScript
public DeviceHealthScriptAssignment.Builder runRemediationScript(Boolean runRemediationScript)
“Determine whether we want to run detection script only or run both detection script and remediation script”- Parameters:
runRemediationScript- value ofrunRemediationScriptproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
runSchedule
public DeviceHealthScriptAssignment.Builder runSchedule(DeviceHealthScriptRunSchedule runSchedule)
“Script run schedule for the target group”- Parameters:
runSchedule- value ofrunScheduleproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
target
public DeviceHealthScriptAssignment.Builder target(DeviceAndAppManagementAssignmentTarget target)
“The Azure Active Directory group we are targeting the script to”- Parameters:
target- value oftargetproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public DeviceHealthScriptAssignment build()
-
-