ApplicationProperties Class
- java.
lang. Object - com.
azure. resourcemanager. batch. fluent. models. ApplicationProperties
- com.
Implements
public final class ApplicationProperties
implements JsonSerializable<ApplicationProperties>
The properties associated with the Application.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationProperties() |
Creates an instance of Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
allowUpdates()
Get the allow |
| String |
defaultVersion()
Get the default |
| String |
displayName()
Get the display |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Application |
withAllowUpdates(Boolean allowUpdates)
Set the allow |
|
Application |
withDefaultVersion(String defaultVersion)
Set the default |
|
Application |
withDisplayName(String displayName)
Set the display |
Methods inherited from java.lang.Object
Constructor Details
ApplicationProperties
public ApplicationProperties()
Creates an instance of ApplicationProperties class.
Method Details
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:
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:
displayName
public String displayName()
Get the displayName property: The display name for the application.
Returns:
fromJson
public static ApplicationProperties fromJson(JsonReader jsonReader)
Reads an instance of ApplicationProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
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:
Returns:
withDisplayName
public ApplicationProperties withDisplayName(String displayName)
Set the displayName property: The display name for the application.
Parameters:
Returns: