ActivateApplicationPackageParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.batch.models.ActivateApplicationPackageParameters

Implements

public final class ActivateApplicationPackageParameters
implements JsonSerializable<ActivateApplicationPackageParameters>

Parameters for an activating an application package.

Constructor Summary

Constructor Description
ActivateApplicationPackageParameters()

Creates an instance of ActivateApplicationPackageParameters class.

Method Summary

Modifier and Type Method and Description
String format()

Get the format property: The format of the application package binary file.

static ActivateApplicationPackageParameters fromJson(JsonReader jsonReader)

Reads an instance of ActivateApplicationPackageParameters from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ActivateApplicationPackageParameters withFormat(String format)

Set the format property: The format of the application package binary file.

Methods inherited from java.lang.Object

Constructor Details

ActivateApplicationPackageParameters

public ActivateApplicationPackageParameters()

Creates an instance of ActivateApplicationPackageParameters class.

Method Details

format

public String format()

Get the format property: The format of the application package binary file.

Returns:

the format value.

fromJson

public static ActivateApplicationPackageParameters fromJson(JsonReader jsonReader)

Reads an instance of ActivateApplicationPackageParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ActivateApplicationPackageParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFormat

public ActivateApplicationPackageParameters withFormat(String format)

Set the format property: The format of the application package binary file.

Parameters:

format - the format value to set.

Returns:

the ActivateApplicationPackageParameters object itself.

Applies to