Class MsixPackageDependencies
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.models.MsixPackageDependencies
-
public final class MsixPackageDependencies extends Object
Schema for MSIX Package Dependencies properties.
-
-
Constructor Summary
Constructors Constructor Description MsixPackageDependencies()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdependencyName()Get the dependencyName property: Name of package dependency.StringminVersion()Get the minVersion property: Dependency version required.Stringpublisher()Get the publisher property: Name of dependency publisher.voidvalidate()Validates the instance.MsixPackageDependencieswithDependencyName(String dependencyName)Set the dependencyName property: Name of package dependency.MsixPackageDependencieswithMinVersion(String minVersion)Set the minVersion property: Dependency version required.MsixPackageDependencieswithPublisher(String publisher)Set the publisher property: Name of dependency publisher.
-
-
-
Method Detail
-
dependencyName
public String dependencyName()
Get the dependencyName property: Name of package dependency.- Returns:
- the dependencyName value.
-
withDependencyName
public MsixPackageDependencies withDependencyName(String dependencyName)
Set the dependencyName property: Name of package dependency.- Parameters:
dependencyName- the dependencyName value to set.- Returns:
- the MsixPackageDependencies object itself.
-
publisher
public String publisher()
Get the publisher property: Name of dependency publisher.- Returns:
- the publisher value.
-
withPublisher
public MsixPackageDependencies withPublisher(String publisher)
Set the publisher property: Name of dependency publisher.- Parameters:
publisher- the publisher value to set.- Returns:
- the MsixPackageDependencies object itself.
-
minVersion
public String minVersion()
Get the minVersion property: Dependency version required.- Returns:
- the minVersion value.
-
withMinVersion
public MsixPackageDependencies withMinVersion(String minVersion)
Set the minVersion property: Dependency version required.- Parameters:
minVersion- the minVersion value to set.- Returns:
- the MsixPackageDependencies object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-