ApplicationInner Class

  • java.lang.Object
    • ProxyResource
      • com.microsoft.azure.management.batch.implementation.ApplicationInner

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.

ApplicationInner withAllowUpdates(Boolean allowUpdates)

Set a value indicating whether packages within the application may be overwritten using the same version string.

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.

ApplicationInner 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:

the allowUpdates value

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:

the defaultVersion value

displayName

public String displayName()

Get the display name for the application.

Returns:

the displayName value

etag

public String etag()

Get the ETag of the resource, used for concurrency statements.

Returns:

the etag value

withAllowUpdates

public ApplicationInner withAllowUpdates(Boolean allowUpdates)

Set 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.

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:

defaultVersion - the defaultVersion value to set

Returns:

the ApplicationInner object itself.

withDisplayName

public ApplicationInner withDisplayName(String displayName)

Set the display name for the application.

Parameters:

displayName - the displayName value to set

Returns:

the ApplicationInner object itself.

Applies to