MsixPackagePatch Class

public final class MsixPackagePatch
extends ProxyResource

MSIX Package properties that can be patched.

Constructor Summary

Constructor Description
MsixPackagePatch()

Creates an instance of MsixPackagePatch class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: Display name for MSIX Package.

static MsixPackagePatch fromJson(JsonReader jsonReader)

Reads an instance of MsixPackagePatch from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

Boolean isActive()

Get the isActive property: Set a version of the package to be active across hostpool.

Boolean isRegularRegistration()

Get the isRegularRegistration property: Set Registration mode.

String name()

Get the name property: The name of the resource.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

MsixPackagePatch withDisplayName(String displayName)

Set the displayName property: Display name for MSIX Package.

MsixPackagePatch withIsActive(Boolean isActive)

Set the isActive property: Set a version of the package to be active across hostpool.

MsixPackagePatch withIsRegularRegistration(Boolean isRegularRegistration)

Set the isRegularRegistration property: Set Registration mode.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

MsixPackagePatch

public MsixPackagePatch()

Creates an instance of MsixPackagePatch class.

Method Details

displayName

public String displayName()

Get the displayName property: Display name for MSIX Package.

Returns:

the displayName value.

fromJson

public static MsixPackagePatch fromJson(JsonReader jsonReader)

Reads an instance of MsixPackagePatch from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MsixPackagePatch if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

MsixPackagePatch.id()

Returns:

the id value.

isActive

public Boolean isActive()

Get the isActive property: Set a version of the package to be active across hostpool.

Returns:

the isActive value.

isRegularRegistration

public Boolean isRegularRegistration()

Get the isRegularRegistration property: Set Registration mode. Regular or Delayed.

Returns:

the isRegularRegistration value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

MsixPackagePatch.name()

Returns:

the name value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MsixPackagePatch.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

MsixPackagePatch.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDisplayName

public MsixPackagePatch withDisplayName(String displayName)

Set the displayName property: Display name for MSIX Package.

Parameters:

displayName - the displayName value to set.

Returns:

the MsixPackagePatch object itself.

withIsActive

public MsixPackagePatch withIsActive(Boolean isActive)

Set the isActive property: Set a version of the package to be active across hostpool.

Parameters:

isActive - the isActive value to set.

Returns:

the MsixPackagePatch object itself.

withIsRegularRegistration

public MsixPackagePatch withIsRegularRegistration(Boolean isRegularRegistration)

Set the isRegularRegistration property: Set Registration mode. Regular or Delayed.

Parameters:

isRegularRegistration - the isRegularRegistration value to set.

Returns:

the MsixPackagePatch object itself.

Applies to