OutputFileBlobContainerDestination Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.OutputFileBlobContainerDestination

public class OutputFileBlobContainerDestination

Specifies a file upload destination within an Azure blob storage container.

Method Summary

Modifier and Type Method and Description
String containerUrl()

Get the URL must include a Shared Access Signature (SAS) granting write permissions to the container.

String path()

Get if filePattern refers to a specific file (i.e. contains no wildcards), then path is the name of the blob to which to upload that file. If filePattern contains one or more wildcards (and therefore may match multiple files), then path is the name of the blob virtual directory (which is prepended to each blob name) to which to upload the file(s). If omitted, file(s) are uploaded to the root of the container with a blob name matching their file name.

OutputFileBlobContainerDestination withContainerUrl(String containerUrl)

Set the URL must include a Shared Access Signature (SAS) granting write permissions to the container.

OutputFileBlobContainerDestination withPath(String path)

Set if filePattern refers to a specific file (i.e. contains no wildcards), then path is the name of the blob to which to upload that file. If filePattern contains one or more wildcards (and therefore may match multiple files), then path is the name of the blob virtual directory (which is prepended to each blob name) to which to upload the file(s). If omitted, file(s) are uploaded to the root of the container with a blob name matching their file name.

Method Details

containerUrl

public String containerUrl()

Get the URL must include a Shared Access Signature (SAS) granting write permissions to the container.

Returns:

the containerUrl value

path

public String path()

Get if filePattern refers to a specific file (i.e. contains no wildcards), then path is the name of the blob to which to upload that file. If filePattern contains one or more wildcards (and therefore may match multiple files), then path is the name of the blob virtual directory (which is prepended to each blob name) to which to upload the file(s). If omitted, file(s) are uploaded to the root of the container with a blob name matching their file name.

Returns:

the path value

withContainerUrl

public OutputFileBlobContainerDestination withContainerUrl(String containerUrl)

Set the URL must include a Shared Access Signature (SAS) granting write permissions to the container.

Parameters:

containerUrl - the containerUrl value to set

Returns:

the OutputFileBlobContainerDestination object itself.

withPath

public OutputFileBlobContainerDestination withPath(String path)

Set if filePattern refers to a specific file (i.e. contains no wildcards), then path is the name of the blob to which to upload that file. If filePattern contains one or more wildcards (and therefore may match multiple files), then path is the name of the blob virtual directory (which is prepended to each blob name) to which to upload the file(s). If omitted, file(s) are uploaded to the root of the container with a blob name matching their file name.

Parameters:

path - the path value to set

Returns:

the OutputFileBlobContainerDestination object itself.

Applies to