Class ResourceUploadDefinition
- java.lang.Object
-
- com.azure.resourcemanager.appplatform.models.ResourceUploadDefinition
-
public final class ResourceUploadDefinition extends Object
Resource upload definition payload.
-
-
Constructor Summary
Constructors Constructor Description ResourceUploadDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringrelativePath()Get the relativePath property: Source relative path.StringuploadUrl()Get the uploadUrl property: Upload URL.voidvalidate()Validates the instance.ResourceUploadDefinitionwithRelativePath(String relativePath)Set the relativePath property: Source relative path.ResourceUploadDefinitionwithUploadUrl(String uploadUrl)Set the uploadUrl property: Upload URL.
-
-
-
Method Detail
-
relativePath
public String relativePath()
Get the relativePath property: Source relative path.- Returns:
- the relativePath value.
-
withRelativePath
public ResourceUploadDefinition withRelativePath(String relativePath)
Set the relativePath property: Source relative path.- Parameters:
relativePath- the relativePath value to set.- Returns:
- the ResourceUploadDefinition object itself.
-
uploadUrl
public String uploadUrl()
Get the uploadUrl property: Upload URL.- Returns:
- the uploadUrl value.
-
withUploadUrl
public ResourceUploadDefinition withUploadUrl(String uploadUrl)
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.
-
-