SourceUploadDefinitionInner Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. fluent. models. SourceUploadDefinitionInner
- com.
Implements
public final class SourceUploadDefinitionInner
implements JsonSerializable<SourceUploadDefinitionInner>
The properties of a response to source upload request.
Constructor Summary
Constructor | Description |
---|---|
SourceUploadDefinitionInner() |
Creates an instance of Source |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Source |
fromJson(JsonReader jsonReader)
Reads an instance of Source |
String |
relativePath()
Get the relative |
Json |
toJson(JsonWriter jsonWriter) |
String |
uploadUrl()
Get the upload |
void |
validate()
Validates the instance. |
Source |
withRelativePath(String relativePath)
Set the relative |
Source |
withUploadUrl(String uploadUrl)
Set the upload |
Methods inherited from java.lang.Object
Constructor Details
SourceUploadDefinitionInner
public SourceUploadDefinitionInner()
Creates an instance of SourceUploadDefinitionInner class.
Method Details
fromJson
public static SourceUploadDefinitionInner fromJson(JsonReader jsonReader)
Reads an instance of SourceUploadDefinitionInner from the JsonReader.
Parameters:
Returns:
Throws:
relativePath
public String relativePath()
Get the relativePath property: The relative path to the source. This is used to submit the subsequent queue build request.
Returns:
toJson
uploadUrl
public String uploadUrl()
Get the uploadUrl property: The URL where the client can upload the source.
Returns:
validate
public void validate()
Validates the instance.
withRelativePath
public SourceUploadDefinitionInner withRelativePath(String relativePath)
Set the relativePath property: The relative path to the source. This is used to submit the subsequent queue build request.
Parameters:
Returns:
withUploadUrl
public SourceUploadDefinitionInner withUploadUrl(String uploadUrl)
Set the uploadUrl property: The URL where the client can upload the source.
Parameters:
Returns:
Applies to
Azure SDK for Java