Package odata.msgraph.client.beta.entity
Class DeviceManagementScript.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.DeviceManagementScript.Builder
-
- Enclosing class:
- DeviceManagementScript
public static final class DeviceManagementScript.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceManagementScriptbuild()DeviceManagementScript.BuildercreatedDateTime(OffsetDateTime createdDateTime)“The date and time the device management script was created.DeviceManagementScript.Builderdescription(String description)“Optional description for the device management script.”DeviceManagementScript.BuilderdisplayName(String displayName)“Name of the device management script.”DeviceManagementScript.BuilderenforceSignatureCheck(Boolean enforceSignatureCheck)“Indicate whether the script signature needs be checked.”DeviceManagementScript.BuilderfileName(String fileName)“Script file name.”DeviceManagementScript.Builderid(String id)DeviceManagementScript.BuilderlastModifiedDateTime(OffsetDateTime lastModifiedDateTime)“The date and time the device management script was last modified.DeviceManagementScript.BuilderroleScopeTagIds(String... roleScopeTagIds)“List of Scope Tag IDs for this PowerShellScript instance.”DeviceManagementScript.BuilderroleScopeTagIds(List<String> roleScopeTagIds)“List of Scope Tag IDs for this PowerShellScript instance.”DeviceManagementScript.BuilderroleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)“List of Scope Tag IDs for this PowerShellScript instance.”DeviceManagementScript.BuilderrunAs32Bit(Boolean runAs32Bit)“A value indicating whether the PowerShell script should run as 32-bit”DeviceManagementScript.BuilderrunAsAccount(RunAsAccountType runAsAccount)“Indicates the type of execution context.”DeviceManagementScript.BuilderscriptContent(byte[] scriptContent)“The script content.”
-
-
-
Method Detail
-
id
public DeviceManagementScript.Builder id(String id)
-
createdDateTime
public DeviceManagementScript.Builder createdDateTime(OffsetDateTime createdDateTime)
“The date and time the device management script was created. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
createdDateTime- value ofcreatedDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
description
public DeviceManagementScript.Builder description(String description)
“Optional description for the device management script.”- Parameters:
description- value ofdescriptionproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
displayName
public DeviceManagementScript.Builder displayName(String displayName)
“Name of the device management script.”- Parameters:
displayName- value ofdisplayNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
enforceSignatureCheck
public DeviceManagementScript.Builder enforceSignatureCheck(Boolean enforceSignatureCheck)
“Indicate whether the script signature needs be checked.”- Parameters:
enforceSignatureCheck- value ofenforceSignatureCheckproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
fileName
public DeviceManagementScript.Builder fileName(String fileName)
“Script file name.”- Parameters:
fileName- value offileNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
lastModifiedDateTime
public DeviceManagementScript.Builder lastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
“The date and time the device management script was last modified. This property is read-only.”Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
- Parameters:
lastModifiedDateTime- value oflastModifiedDateTimeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
roleScopeTagIds
public DeviceManagementScript.Builder roleScopeTagIds(List<String> roleScopeTagIds)
“List of Scope Tag IDs for this PowerShellScript instance.”- Parameters:
roleScopeTagIds- value ofroleScopeTagIdsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
roleScopeTagIds
public DeviceManagementScript.Builder roleScopeTagIds(String... roleScopeTagIds)
“List of Scope Tag IDs for this PowerShellScript instance.”- Parameters:
roleScopeTagIds- value ofroleScopeTagIdsproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
roleScopeTagIdsNextLink
public DeviceManagementScript.Builder roleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)
“List of Scope Tag IDs for this PowerShellScript instance.”- Parameters:
roleScopeTagIdsNextLink- value ofroleScopeTagIds@nextLinkproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
runAs32Bit
public DeviceManagementScript.Builder runAs32Bit(Boolean runAs32Bit)
“A value indicating whether the PowerShell script should run as 32-bit”- Parameters:
runAs32Bit- value ofrunAs32Bitproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
runAsAccount
public DeviceManagementScript.Builder runAsAccount(RunAsAccountType runAsAccount)
“Indicates the type of execution context.”- Parameters:
runAsAccount- value ofrunAsAccountproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
scriptContent
public DeviceManagementScript.Builder scriptContent(byte[] scriptContent)
“The script content.”- Parameters:
scriptContent- value ofscriptContentproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public DeviceManagementScript build()
-
-