Class ApplicationInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.batch.fluent.models.ApplicationInner

public final class ApplicationInner extends com.azure.core.management.ProxyResource
Contains information about an application in a Batch account.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of ApplicationInner class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the allowUpdates property: A value indicating whether packages within the application may be overwritten using the same version string.
    Get the defaultVersion property: The package to use if a client requests the application but does not specify a version.
    Get the displayName property: The display name for the application.
    Get the etag property: The ETag of the resource, used for concurrency statements.
    void
    Validates the instance.
    withAllowUpdates(Boolean allowUpdates)
    Set the allowUpdates property: A value indicating whether packages within the application may be overwritten using the same version string.
    withDefaultVersion(String defaultVersion)
    Set the defaultVersion property: The package to use if a client requests the application but does not specify a version.
    withDisplayName(String displayName)
    Set the displayName property: The display name for the application.

    Methods inherited from class com.azure.core.management.ProxyResource

    id, name, type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ApplicationInner

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

    • etag

      public String etag()
      Get the etag property: The ETag of the resource, used for concurrency statements.
      Returns:
      the etag value.
    • displayName

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

      public ApplicationInner withDisplayName(String displayName)
      Set the displayName property: The display name for the application.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the ApplicationInner 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 ApplicationInner 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 ApplicationInner 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 ApplicationInner 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 ApplicationInner object itself.
    • validate

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