Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.containerregistry.implementation; import com.fasterxml.jackson.annotation.JsonProperty;
The properties of a response to source upload request.
/** * The properties of a response to source upload request. */
public class SourceUploadDefinitionInner {
The URL where the client can upload the source.
/** * The URL where the client can upload the source. */
@JsonProperty(value = "uploadUrl") private String uploadUrl;
The relative path to the source. This is used to submit the subsequent queue build request.
/** * The relative path to the source. This is used to submit the subsequent * queue build request. */
@JsonProperty(value = "relativePath") private String relativePath;
Get the URL where the client can upload the source.
Returns:the uploadUrl value
/** * Get the URL where the client can upload the source. * * @return the uploadUrl value */
public String uploadUrl() { return this.uploadUrl; }
Set the URL where the client can upload the source.
Params:
  • uploadUrl – the uploadUrl value to set
Returns:the SourceUploadDefinitionInner object itself.
/** * Set the URL where the client can upload the source. * * @param uploadUrl the uploadUrl value to set * @return the SourceUploadDefinitionInner object itself. */
public SourceUploadDefinitionInner withUploadUrl(String uploadUrl) { this.uploadUrl = uploadUrl; return this; }
Get the relative path to the source. This is used to submit the subsequent queue build request.
Returns:the relativePath value
/** * Get the relative path to the source. This is used to submit the subsequent queue build request. * * @return the relativePath value */
public String relativePath() { return this.relativePath; }
Set the relative path to the source. This is used to submit the subsequent queue build request.
Params:
  • relativePath – the relativePath value to set
Returns:the SourceUploadDefinitionInner object itself.
/** * Set the relative path to the source. This is used to submit the subsequent queue build request. * * @param relativePath the relativePath value to set * @return the SourceUploadDefinitionInner object itself. */
public SourceUploadDefinitionInner withRelativePath(String relativePath) { this.relativePath = relativePath; return this; } }