JarUploadedUserSourceInfo Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. UserSourceInfo - com.
azure. resourcemanager. appplatform. models. UploadedUserSourceInfo - com.
azure. resourcemanager. appplatform. models. JarUploadedUserSourceInfo
- com.
- com.
- com.
public final class JarUploadedUserSourceInfo
extends UploadedUserSourceInfo
Uploaded Jar binary for a deployment.
Constructor | Description |
---|---|
Jar |
Creates an instance of Jar |
Modifier and Type | Method and Description |
---|---|
static
Jar |
from Reads an instance of Jar |
String |
jvm Get the jvm |
String |
runtime Get the runtime |
Json |
to |
String |
type()
Get the type property: Type of the source uploaded. |
void |
validate()
Validates the instance. |
Jar |
with Set the jvm |
Jar |
with Set the relative |
Jar |
with Set the runtime |
Jar |
with Set the version property: Version of the source. |
Methods inherited from UploadedUserSourceInfo
Methods inherited from UserSourceInfo
Methods inherited from java.lang.Object
JarUploadedUserSourceInfo
public JarUploadedUserSourceInfo()
Creates an instance of JarUploadedUserSourceInfo class.
fromJson
public static JarUploadedUserSourceInfo fromJson(JsonReader jsonReader)
Reads an instance of JarUploadedUserSourceInfo from the JsonReader.
Parameters:
Returns:
Throws:
jvmOptions
public String jvmOptions()
Get the jvmOptions property: JVM parameter.
Returns:
runtimeVersion
public String runtimeVersion()
Get the runtimeVersion property: Runtime version of the Jar file.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
JarUploadedUserSourceInfo.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of the source uploaded.
Overrides:
JarUploadedUserSourceInfo.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
JarUploadedUserSourceInfo.validate()withJvmOptions
public JarUploadedUserSourceInfo withJvmOptions(String jvmOptions)
Set the jvmOptions property: JVM parameter.
Parameters:
Returns:
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:
withRuntimeVersion
public JarUploadedUserSourceInfo withRuntimeVersion(String runtimeVersion)
Set the runtimeVersion property: Runtime version of the Jar file.
Parameters:
Returns:
withVersion
public JarUploadedUserSourceInfo withVersion(String version)
Set the version property: Version of the source.
Overrides:
JarUploadedUserSourceInfo.withVersion(String version)Parameters:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: