Class ResourceUploadDefinition
java.lang.Object
com.azure.resourcemanager.appplatform.models.ResourceUploadDefinition
Resource upload definition payload.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ResourceUploadDefinition class. -
Method Summary
Modifier and TypeMethodDescriptionGet the relativePath property: Source relative path.Get the uploadUrl property: Upload URL.voidvalidate()Validates the instance.withRelativePath(String relativePath) Set the relativePath property: Source relative path.withUploadUrl(String uploadUrl) Set the uploadUrl property: Upload URL.
-
Constructor Details
-
ResourceUploadDefinition
public ResourceUploadDefinition()Creates an instance of ResourceUploadDefinition class.
-
-
Method Details
-
relativePath
Get the relativePath property: Source relative path.- Returns:
- the relativePath value.
-
withRelativePath
Set the relativePath property: Source relative path.- Parameters:
relativePath- the relativePath value to set.- Returns:
- the ResourceUploadDefinition object itself.
-
uploadUrl
Get the uploadUrl property: Upload URL.- Returns:
- the uploadUrl value.
-
withUploadUrl
Set the uploadUrl property: Upload URL.- Parameters:
uploadUrl- the uploadUrl value to set.- Returns:
- the ResourceUploadDefinition object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-