public static final class DeviceShellScript.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
DeviceShellScript.Builder |
blockExecutionNotifications(Boolean blockExecutionNotifications)
“Does not notify the user a script is being executed”
|
DeviceShellScript |
build() |
DeviceShellScript.Builder |
createdDateTime(OffsetDateTime createdDateTime)
“The date and time the device management script was created.
|
DeviceShellScript.Builder |
description(String description)
“Optional description for the device management script.”
|
DeviceShellScript.Builder |
displayName(String displayName)
“Name of the device management script.”
|
DeviceShellScript.Builder |
executionFrequency(Duration executionFrequency)
“The interval for script to run.
|
DeviceShellScript.Builder |
fileName(String fileName)
“Script file name.”
|
DeviceShellScript.Builder |
id(String id) |
DeviceShellScript.Builder |
lastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
“The date and time the device management script was last modified.
|
DeviceShellScript.Builder |
retryCount(Integer retryCount)
“Number of times for the script to be retried if it fails”
|
DeviceShellScript.Builder |
roleScopeTagIds(List<String> roleScopeTagIds)
“List of Scope Tag IDs for this PowerShellScript instance.”
|
DeviceShellScript.Builder |
roleScopeTagIds(String... roleScopeTagIds)
“List of Scope Tag IDs for this PowerShellScript instance.”
|
DeviceShellScript.Builder |
roleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)
“List of Scope Tag IDs for this PowerShellScript instance.”
|
DeviceShellScript.Builder |
runAsAccount(RunAsAccountType runAsAccount)
“Indicates the type of execution context.”
|
DeviceShellScript.Builder |
scriptContent(byte[] scriptContent)
“The script content.”
|
public DeviceShellScript.Builder id(String id)
public DeviceShellScript.Builder executionFrequency(Duration executionFrequency)
executionFrequency - value of executionFrequency property (as defined in service metadata)this (for method chaining)public DeviceShellScript.Builder retryCount(Integer retryCount)
retryCount - value of retryCount property (as defined in service metadata)this (for method chaining)public DeviceShellScript.Builder blockExecutionNotifications(Boolean blockExecutionNotifications)
blockExecutionNotifications - value of blockExecutionNotifications property (as defined in service metadata)this (for method chaining)public DeviceShellScript.Builder displayName(String displayName)
displayName - value of displayName property (as defined in service metadata)this (for method chaining)public DeviceShellScript.Builder description(String description)
description - value of description property (as defined in service metadata)this (for method chaining)public DeviceShellScript.Builder scriptContent(byte[] scriptContent)
scriptContent - value of scriptContent property (as defined in service metadata)this (for method chaining)public DeviceShellScript.Builder createdDateTime(OffsetDateTime createdDateTime)
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
createdDateTime - value of createdDateTime property (as defined in service metadata)this (for method chaining)public DeviceShellScript.Builder lastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
lastModifiedDateTime - value of lastModifiedDateTime property (as defined in service metadata)this (for method chaining)public DeviceShellScript.Builder runAsAccount(RunAsAccountType runAsAccount)
runAsAccount - value of runAsAccount property (as defined in service metadata)this (for method chaining)public DeviceShellScript.Builder fileName(String fileName)
fileName - value of fileName property (as defined in service metadata)this (for method chaining)public DeviceShellScript.Builder roleScopeTagIds(List<String> roleScopeTagIds)
roleScopeTagIds - value of roleScopeTagIds property (as defined in service metadata)this (for method chaining)public DeviceShellScript.Builder roleScopeTagIds(String... roleScopeTagIds)
roleScopeTagIds - value of roleScopeTagIds property (as defined in service metadata)this (for method chaining)public DeviceShellScript.Builder roleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)
roleScopeTagIdsNextLink - value of roleScopeTagIds@nextLink property (as defined in service metadata)this (for method chaining)public DeviceShellScript build()
Copyright © 2018–2020. All rights reserved.