public static final class DeviceShellScript.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
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 |
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 |
roleScopeTagIds(List<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 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 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.