JarUploadedUserSourceInfo Class

public final class JarUploadedUserSourceInfo
extends UploadedUserSourceInfo

Uploaded Jar binary for a deployment.

Constructor Summary

Constructor Description
JarUploadedUserSourceInfo()

Creates an instance of JarUploadedUserSourceInfo class.

Method Summary

Modifier and Type Method and Description
static JarUploadedUserSourceInfo fromJson(JsonReader jsonReader)

Reads an instance of JarUploadedUserSourceInfo from the JsonReader.

String jvmOptions()

Get the jvmOptions property: JVM parameter.

String runtimeVersion()

Get the runtimeVersion property: Runtime version of the Jar file.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the source uploaded.

void validate()

Validates the instance.

JarUploadedUserSourceInfo withJvmOptions(String jvmOptions)

Set the jvmOptions property: JVM parameter.

JarUploadedUserSourceInfo withRelativePath(String relativePath)

Set the relativePath property: Relative path of the storage which stores the source.

JarUploadedUserSourceInfo withRuntimeVersion(String runtimeVersion)

Set the runtimeVersion property: Runtime version of the Jar file.

JarUploadedUserSourceInfo withVersion(String version)

Set the version property: Version of the source.

Methods inherited from UploadedUserSourceInfo

Methods inherited from UserSourceInfo

Methods inherited from java.lang.Object

Constructor Details

JarUploadedUserSourceInfo

public JarUploadedUserSourceInfo()

Creates an instance of JarUploadedUserSourceInfo class.

Method Details

fromJson

public static JarUploadedUserSourceInfo fromJson(JsonReader jsonReader)

Reads an instance of JarUploadedUserSourceInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the JarUploadedUserSourceInfo.

jvmOptions

public String jvmOptions()

Get the jvmOptions property: JVM parameter.

Returns:

the jvmOptions value.

runtimeVersion

public String runtimeVersion()

Get the runtimeVersion property: Runtime version of the Jar file.

Returns:

the runtimeVersion value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

JarUploadedUserSourceInfo.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the source uploaded.

Overrides:

JarUploadedUserSourceInfo.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

JarUploadedUserSourceInfo.validate()

withJvmOptions

public JarUploadedUserSourceInfo withJvmOptions(String jvmOptions)

Set the jvmOptions property: JVM parameter.

Parameters:

jvmOptions - the jvmOptions value to set.

Returns:

the JarUploadedUserSourceInfo object itself.

withRelativePath

public JarUploadedUserSourceInfo withRelativePath(String relativePath)

Set the relativePath property: Relative path of the storage which stores the source.

Overrides:

JarUploadedUserSourceInfo.withRelativePath(String relativePath)

Parameters:

relativePath

withRuntimeVersion

public JarUploadedUserSourceInfo withRuntimeVersion(String runtimeVersion)

Set the runtimeVersion property: Runtime version of the Jar file.

Parameters:

runtimeVersion - the runtimeVersion value to set.

Returns:

the JarUploadedUserSourceInfo object itself.

withVersion

public JarUploadedUserSourceInfo withVersion(String version)

Set the version property: Version of the source.

Overrides:

JarUploadedUserSourceInfo.withVersion(String version)

Parameters:

version

Applies to

Azure SDK for Java

Latest