Class UploadedUserSourceInfo
java.lang.Object
com.azure.resourcemanager.appplatform.models.UserSourceInfo
com.azure.resourcemanager.appplatform.models.UploadedUserSourceInfo
- Direct Known Subclasses:
JarUploadedUserSourceInfo,NetCoreZipUploadedUserSourceInfo,SourceUploadedUserSourceInfo,WarUploadedUserSourceInfo
Source with uploaded location.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of UploadedUserSourceInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the relativePath property: Relative path of the storage which stores the source.voidvalidate()Validates the instance.withRelativePath(String relativePath) Set the relativePath property: Relative path of the storage which stores the source.withVersion(String version) Set the version property: Version of the source.Methods inherited from class com.azure.resourcemanager.appplatform.models.UserSourceInfo
version
-
Constructor Details
-
UploadedUserSourceInfo
public UploadedUserSourceInfo()Creates an instance of UploadedUserSourceInfo class.
-
-
Method Details
-
relativePath
Get the relativePath property: Relative path of the storage which stores the source.- Returns:
- the relativePath value.
-
withRelativePath
Set the relativePath property: Relative path of the storage which stores the source.- Parameters:
relativePath- the relativePath value to set.- Returns:
- the UploadedUserSourceInfo object itself.
-
withVersion
Set the version property: Version of the source.- Overrides:
withVersionin classUserSourceInfo- Parameters:
version- the version value to set.- Returns:
- the UserSourceInfo object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classUserSourceInfo- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-