Class SourceUploadDefinitionInner
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.fluent.models.SourceUploadDefinitionInner
-
public final class SourceUploadDefinitionInner extends Object
The properties of a response to source upload request.
-
-
Constructor Summary
Constructors Constructor Description SourceUploadDefinitionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringrelativePath()Get the relativePath property: The relative path to the source.StringuploadUrl()Get the uploadUrl property: The URL where the client can upload the source.voidvalidate()Validates the instance.SourceUploadDefinitionInnerwithRelativePath(String relativePath)Set the relativePath property: The relative path to the source.SourceUploadDefinitionInnerwithUploadUrl(String uploadUrl)Set the uploadUrl property: The URL where the client can upload the source.
-
-
-
Method Detail
-
uploadUrl
public String uploadUrl()
Get the uploadUrl property: The URL where the client can upload the source.- Returns:
- the uploadUrl value.
-
withUploadUrl
public SourceUploadDefinitionInner withUploadUrl(String uploadUrl)
Set the uploadUrl property: The URL where the client can upload the source.- Parameters:
uploadUrl- the uploadUrl value to set.- Returns:
- the SourceUploadDefinitionInner object itself.
-
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:
- the relativePath value.
-
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:
relativePath- the relativePath value to set.- Returns:
- the SourceUploadDefinitionInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-