Class WarUploadedUserSourceInfo
java.lang.Object
com.azure.resourcemanager.appplatform.models.UserSourceInfo
com.azure.resourcemanager.appplatform.models.UploadedUserSourceInfo
com.azure.resourcemanager.appplatform.models.WarUploadedUserSourceInfo
Uploaded War binary for a deployment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of WarUploadedUserSourceInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the jvmOptions property: JVM parameter.Get the runtimeVersion property: Runtime version of the war file.Get the serverVersion property: Server version, currently only Apache Tomcat is supported.voidvalidate()Validates the instance.withJvmOptions(String jvmOptions) Set the jvmOptions property: JVM parameter.withRelativePath(String relativePath) Set the relativePath property: Relative path of the storage which stores the source.withRuntimeVersion(String runtimeVersion) Set the runtimeVersion property: Runtime version of the war file.withServerVersion(String serverVersion) Set the serverVersion property: Server version, currently only Apache Tomcat is supported.withVersion(String version) Set the version property: Version of the source.Methods inherited from class com.azure.resourcemanager.appplatform.models.UploadedUserSourceInfo
relativePathMethods inherited from class com.azure.resourcemanager.appplatform.models.UserSourceInfo
version
-
Constructor Details
-
WarUploadedUserSourceInfo
public WarUploadedUserSourceInfo()Creates an instance of WarUploadedUserSourceInfo class.
-
-
Method Details
-
runtimeVersion
Get the runtimeVersion property: Runtime version of the war file.- Returns:
- the runtimeVersion value.
-
withRuntimeVersion
Set the runtimeVersion property: Runtime version of the war file.- Parameters:
runtimeVersion- the runtimeVersion value to set.- Returns:
- the WarUploadedUserSourceInfo object itself.
-
jvmOptions
Get the jvmOptions property: JVM parameter.- Returns:
- the jvmOptions value.
-
withJvmOptions
Set the jvmOptions property: JVM parameter.- Parameters:
jvmOptions- the jvmOptions value to set.- Returns:
- the WarUploadedUserSourceInfo object itself.
-
serverVersion
Get the serverVersion property: Server version, currently only Apache Tomcat is supported.- Returns:
- the serverVersion value.
-
withServerVersion
Set the serverVersion property: Server version, currently only Apache Tomcat is supported.- Parameters:
serverVersion- the serverVersion value to set.- Returns:
- the WarUploadedUserSourceInfo object itself.
-
withRelativePath
Set the relativePath property: Relative path of the storage which stores the source.- Overrides:
withRelativePathin classUploadedUserSourceInfo- Parameters:
relativePath- the relativePath value to set.- Returns:
- the UploadedUserSourceInfo object itself.
-
withVersion
Set the version property: Version of the source.- Overrides:
withVersionin classUploadedUserSourceInfo- Parameters:
version- the version value to set.- Returns:
- the UserSourceInfo object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classUploadedUserSourceInfo- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-