ApplicationInner Class
- java.
lang. Object - ProxyResource
- com.
microsoft. azure. management. batch. implementation. ApplicationInner
- com.
public class ApplicationInner
Contains information about an application in a Batch account.
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
allowUpdates()
Get a value indicating whether packages within the application may be overwritten using the same version string. |
String |
defaultVersion()
Get 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. |
String |
displayName()
Get the display name for the application. |
String |
etag()
Get the ETag of the resource, used for concurrency statements. |
Application |
withAllowUpdates(Boolean allowUpdates)
Set a value indicating whether packages within the application may be overwritten using the same version string. |
Application |
withDefaultVersion(String defaultVersion)
Set 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. |
Application |
withDisplayName(String displayName)
Set the display name for the application. |
Method Details
allowUpdates
public Boolean allowUpdates()
Get a value indicating whether packages within the application may be overwritten using the same version string.
Returns:
defaultVersion
public String defaultVersion()
Get 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 display name for the application.
Returns:
etag
public String etag()
Get the ETag of the resource, used for concurrency statements.
Returns:
withAllowUpdates
public ApplicationInner withAllowUpdates(Boolean allowUpdates)
Set a value indicating whether packages within the application may be overwritten using the same version string.
Parameters:
Returns:
withDefaultVersion
public ApplicationInner withDefaultVersion(String defaultVersion)
Set 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 ApplicationInner withDisplayName(String displayName)
Set the display name for the application.
Parameters:
Returns:
Applies to
Azure SDK for Java