Package odata.msgraph.client.beta.entity
Class DeviceCustomAttributeShellScript.Builder
- java.lang.Object
-
- odata.msgraph.client.beta.entity.DeviceCustomAttributeShellScript.Builder
-
- Enclosing class:
- DeviceCustomAttributeShellScript
public static final class DeviceCustomAttributeShellScript.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceCustomAttributeShellScriptbuild()DeviceCustomAttributeShellScript.BuildercreatedDateTime(OffsetDateTime createdDateTime)“The date and time the device management script was created.DeviceCustomAttributeShellScript.BuildercustomAttributeName(String customAttributeName)“The name of the custom attribute.”DeviceCustomAttributeShellScript.BuildercustomAttributeType(DeviceCustomAttributeValueType customAttributeType)“The expected type of the custom attribute's value.”DeviceCustomAttributeShellScript.Builderdescription(String description)“Optional description for the device management script.”DeviceCustomAttributeShellScript.BuilderdisplayName(String displayName)“Name of the device management script.”DeviceCustomAttributeShellScript.BuilderfileName(String fileName)“Script file name.”DeviceCustomAttributeShellScript.Builderid(String id)DeviceCustomAttributeShellScript.BuilderlastModifiedDateTime(OffsetDateTime lastModifiedDateTime)“The date and time the device management script was last modified.DeviceCustomAttributeShellScript.BuilderroleScopeTagIds(String... roleScopeTagIds)“List of Scope Tag IDs for this PowerShellScript instance.”DeviceCustomAttributeShellScript.BuilderroleScopeTagIds(List<String> roleScopeTagIds)“List of Scope Tag IDs for this PowerShellScript instance.”DeviceCustomAttributeShellScript.BuilderroleScopeTagIdsNextLink(String roleScopeTagIdsNextLink)“List of Scope Tag IDs for this PowerShellScript instance.”DeviceCustomAttributeShellScript.BuilderrunAsAccount(RunAsAccountType runAsAccount)“Indicates the type of execution context.”DeviceCustomAttributeShellScript.BuilderscriptContent(byte[] scriptContent)“The script content.”
-
-
-
Method Detail
-
id
public DeviceCustomAttributeShellScript.Builder id(String id)
-
createdDateTime
public DeviceCustomAttributeShellScript.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)
-
customAttributeName
public DeviceCustomAttributeShellScript.Builder customAttributeName(String customAttributeName)
“The name of the custom attribute.”- Parameters:
customAttributeName- value ofcustomAttributeNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
customAttributeType
public DeviceCustomAttributeShellScript.Builder customAttributeType(DeviceCustomAttributeValueType customAttributeType)
“The expected type of the custom attribute's value.”- Parameters:
customAttributeType- value ofcustomAttributeTypeproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
description
public DeviceCustomAttributeShellScript.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 DeviceCustomAttributeShellScript.Builder displayName(String displayName)
“Name of the device management script.”- Parameters:
displayName- value ofdisplayNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
fileName
public DeviceCustomAttributeShellScript.Builder fileName(String fileName)
“Script file name.”- Parameters:
fileName- value offileNameproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
lastModifiedDateTime
public DeviceCustomAttributeShellScript.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 DeviceCustomAttributeShellScript.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 DeviceCustomAttributeShellScript.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 DeviceCustomAttributeShellScript.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)
-
runAsAccount
public DeviceCustomAttributeShellScript.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 DeviceCustomAttributeShellScript.Builder scriptContent(byte[] scriptContent)
“The script content.”- Parameters:
scriptContent- value ofscriptContentproperty (as defined in service metadata)- Returns:
this(for method chaining)
-
build
public DeviceCustomAttributeShellScript build()
-
-