ApplicationPackageProperties Class
- java.
lang. Object - com.
azure. resourcemanager. batch. fluent. models. ApplicationPackageProperties
- com.
Implements
public final class ApplicationPackageProperties
implements JsonSerializable<ApplicationPackageProperties>
Properties of an application package.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationPackageProperties() |
Creates an instance of Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
format()
Get the format property: The format of the application package, if the package is active. |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
|
Offset |
lastActivationTime()
Get the last |
|
Package |
state()
Get the state property: The current state of the application package. |
| String |
storageUrl()
Get the storage |
|
Offset |
storageUrlExpiry()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ApplicationPackageProperties
public ApplicationPackageProperties()
Creates an instance of ApplicationPackageProperties class.
Method Details
format
public String format()
Get the format property: The format of the application package, if the package is active.
Returns:
fromJson
public static ApplicationPackageProperties fromJson(JsonReader jsonReader)
Reads an instance of ApplicationPackageProperties from the JsonReader.
Parameters:
Returns:
Throws:
lastActivationTime
public OffsetDateTime lastActivationTime()
Get the lastActivationTime property: The time at which the package was last activated, if the package is active.
Returns:
state
public PackageState state()
Get the state property: The current state of the application package.
Returns:
storageUrl
public String storageUrl()
Get the storageUrl property: The URL for the application package in Azure Storage.
Returns:
storageUrlExpiry
public OffsetDateTime storageUrlExpiry()
Get the storageUrlExpiry property: The UTC time at which the Azure Storage URL will expire.
Returns:
toJson
validate
public void validate()
Validates the instance.