Class NetCoreZipUploadedUserSourceInfo
java.lang.Object
com.azure.resourcemanager.appplatform.models.UserSourceInfo
com.azure.resourcemanager.appplatform.models.UploadedUserSourceInfo
com.azure.resourcemanager.appplatform.models.NetCoreZipUploadedUserSourceInfo
- All Implemented Interfaces:
com.azure.json.JsonSerializable<UserSourceInfo>
Uploaded Jar binary for a deployment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NetCoreZipUploadedUserSourceInfo class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NetCoreZipUploadedUserSourceInfo from the JsonReader.Get the netCoreMainEntryPath property: The path to the .NET executable relative to zip root.Get the runtimeVersion property: Runtime version of the .Net file.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Type of the source uploaded.voidvalidate()Validates the instance.withNetCoreMainEntryPath(String netCoreMainEntryPath) Set the netCoreMainEntryPath property: The path to the .NET executable relative to zip root.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 .Net file.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
versionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
NetCoreZipUploadedUserSourceInfo
public NetCoreZipUploadedUserSourceInfo()Creates an instance of NetCoreZipUploadedUserSourceInfo class.
-
-
Method Details
-
type
Get the type property: Type of the source uploaded.- Overrides:
typein classUploadedUserSourceInfo- Returns:
- the type value.
-
netCoreMainEntryPath
Get the netCoreMainEntryPath property: The path to the .NET executable relative to zip root.- Returns:
- the netCoreMainEntryPath value.
-
withNetCoreMainEntryPath
Set the netCoreMainEntryPath property: The path to the .NET executable relative to zip root.- Parameters:
netCoreMainEntryPath- the netCoreMainEntryPath value to set.- Returns:
- the NetCoreZipUploadedUserSourceInfo object itself.
-
runtimeVersion
Get the runtimeVersion property: Runtime version of the .Net file.- Returns:
- the runtimeVersion value.
-
withRuntimeVersion
Set the runtimeVersion property: Runtime version of the .Net file.- Parameters:
runtimeVersion- the runtimeVersion value to set.- Returns:
- the NetCoreZipUploadedUserSourceInfo 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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<UserSourceInfo>- Overrides:
toJsonin classUploadedUserSourceInfo- Throws:
IOException
-
fromJson
public static NetCoreZipUploadedUserSourceInfo fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of NetCoreZipUploadedUserSourceInfo from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of NetCoreZipUploadedUserSourceInfo 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 NetCoreZipUploadedUserSourceInfo.
-