ResourceUploadDefinition Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. ResourceUploadDefinition
- com.
Implements
public final class ResourceUploadDefinition
implements JsonSerializable<ResourceUploadDefinition>
Resource upload definition payload.
Constructor Summary
Constructor | Description |
---|---|
ResourceUploadDefinition() |
Creates an instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
String |
relativePath()
Get the relative |
Json |
toJson(JsonWriter jsonWriter) |
String |
uploadUrl()
Get the upload |
void |
validate()
Validates the instance. |
Resource |
withRelativePath(String relativePath)
Set the relative |
Resource |
withUploadUrl(String uploadUrl)
Set the upload |
Methods inherited from java.lang.Object
Constructor Details
ResourceUploadDefinition
public ResourceUploadDefinition()
Creates an instance of ResourceUploadDefinition class.
Method Details
fromJson
public static ResourceUploadDefinition fromJson(JsonReader jsonReader)
Reads an instance of ResourceUploadDefinition from the JsonReader.
Parameters:
Returns:
Throws:
relativePath
public String relativePath()
Get the relativePath property: Source relative path.
Returns:
toJson
uploadUrl
public String uploadUrl()
Get the uploadUrl property: Upload URL.
Returns:
validate
public void validate()
Validates the instance.
withRelativePath
public ResourceUploadDefinition withRelativePath(String relativePath)
Set the relativePath property: Source relative path.
Parameters:
Returns:
withUploadUrl
public ResourceUploadDefinition withUploadUrl(String uploadUrl)
Set the uploadUrl property: Upload URL.
Parameters:
Returns:
Applies to
Azure SDK for Java