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
-
Method Summary
Modifier and TypeMethodDescriptionGet 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.etag()
Get the etag property: The ETag of the resource, used for concurrency statements.void
validate()
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
-
Constructor Details
-
ApplicationInner
public ApplicationInner()Creates an instance of ApplicationInner class.
-
-
Method Details
-
etag
Get the etag property: The ETag of the resource, used for concurrency statements.- Returns:
- the etag value.
-
displayName
Get the displayName property: The display name for the application.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name for the application.- Parameters:
displayName
- the displayName value to set.- Returns:
- the ApplicationInner object itself.
-
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
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
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
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.
-