Class SourceUploadedUserSourceInfo
java.lang.Object
com.azure.resourcemanager.appplatform.models.UserSourceInfo
com.azure.resourcemanager.appplatform.models.UploadedUserSourceInfo
com.azure.resourcemanager.appplatform.models.SourceUploadedUserSourceInfo
Uploaded Java source code binary for a deployment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SourceUploadedUserSourceInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the artifactSelector property: Selector for the artifact to be used for the deployment for multi-module projects.Get the runtimeVersion property: Runtime version of the source file.voidvalidate()Validates the instance.withArtifactSelector(String artifactSelector) Set the artifactSelector property: Selector for the artifact to be used for the deployment for multi-module projects.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 source 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
version
-
Constructor Details
-
SourceUploadedUserSourceInfo
public SourceUploadedUserSourceInfo()Creates an instance of SourceUploadedUserSourceInfo class.
-
-
Method Details
-
artifactSelector
Get the artifactSelector property: Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.- Returns:
- the artifactSelector value.
-
withArtifactSelector
Set the artifactSelector property: Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.- Parameters:
artifactSelector- the artifactSelector value to set.- Returns:
- the SourceUploadedUserSourceInfo object itself.
-
runtimeVersion
Get the runtimeVersion property: Runtime version of the source file.- Returns:
- the runtimeVersion value.
-
withRuntimeVersion
Set the runtimeVersion property: Runtime version of the source file.- Parameters:
runtimeVersion- the runtimeVersion value to set.- Returns:
- the SourceUploadedUserSourceInfo 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.
-