Class ApplicationProperties

java.lang.Object
com.azure.resourcemanager.batch.fluent.models.ApplicationProperties

public final class ApplicationProperties extends Object
The properties associated with the Application.
  • Constructor Details

    • ApplicationProperties

      public ApplicationProperties()
      Creates an instance of ApplicationProperties class.
  • Method Details

    • displayName

      public String displayName()
      Get the displayName property: The display name for the application.
      Returns:
      the displayName value.
    • withDisplayName

      public ApplicationProperties withDisplayName(String displayName)
      Set the displayName property: The display name for the application.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the ApplicationProperties object itself.
    • allowUpdates

      public Boolean allowUpdates()
      Get the allowUpdates property: A value indicating whether packages within the application may be overwritten using the same version string.
      Returns:
      the allowUpdates value.
    • withAllowUpdates

      public ApplicationProperties withAllowUpdates(Boolean allowUpdates)
      Set the allowUpdates property: A value indicating whether packages within the application may be overwritten using the same version string.
      Parameters:
      allowUpdates - the allowUpdates value to set.
      Returns:
      the ApplicationProperties object itself.
    • defaultVersion

      public String defaultVersion()
      Get the defaultVersion property: The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package.
      Returns:
      the defaultVersion value.
    • withDefaultVersion

      public ApplicationProperties withDefaultVersion(String defaultVersion)
      Set the defaultVersion property: The package to use if a client requests the application but does not specify a version. This property can only be set to the name of an existing package.
      Parameters:
      defaultVersion - the defaultVersion value to set.
      Returns:
      the ApplicationProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.