Class ApplicationPackageInner

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

public final class ApplicationPackageInner extends com.azure.core.management.ProxyResource
An application package which represents a particular version of an application.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    Get the etag property: The ETag of the resource, used for concurrency statements.
    Get the format property: The format of the application package, if the package is active.
    Get the lastActivationTime property: The time at which the package was last activated, if the package is active.
    Get the state property: The current state of the application package.
    Get the storageUrl property: The URL for the application package in Azure Storage.
    Get the storageUrlExpiry property: The UTC time at which the Azure Storage URL will expire.
    void
    Validates the instance.

    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

    • ApplicationPackageInner

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

    • etag

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

      public PackageState state()
      Get the state property: The current state of the application package.
      Returns:
      the state value.
    • format

      public String format()
      Get the format property: The format of the application package, if the package is active.
      Returns:
      the format value.
    • storageUrl

      public String storageUrl()
      Get the storageUrl property: The URL for the application package in Azure Storage.
      Returns:
      the storageUrl value.
    • storageUrlExpiry

      public OffsetDateTime storageUrlExpiry()
      Get the storageUrlExpiry property: The UTC time at which the Azure Storage URL will expire.
      Returns:
      the storageUrlExpiry value.
    • lastActivationTime

      public OffsetDateTime lastActivationTime()
      Get the lastActivationTime property: The time at which the package was last activated, if the package is active.
      Returns:
      the lastActivationTime value.
    • validate

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