.primaryUri(uri.getPrimaryUri().toString()) .blobName(cloudBlob.getName()) .containerName(containerName)
/** * Gets the URI of the directory. * * @return A <code>java.net.URI</code> object that represents the URI of the directory. */ public URI getUri() { return this.storageUri.getPrimaryUri(); }
/** * Returns the URI for this share. * * @return The absolute URI to the share. */ public URI getUri() { return this.storageUri.getPrimaryUri(); }
/** * Gets the URI of the container. * * @return A <code>java.net.URI</code> object that represents the URI of the container. */ public URI getUri() { return this.storageUri.getPrimaryUri(); }
/** * Gets the absolute URI for this table. * * @return A <code>java.net.URI</code> object that represents the URI for this table. */ public URI getUri() { return this.storageUri.getPrimaryUri(); }
/** * Gets the absolute URI for this table. * * @return A <code>java.net.URI</code> object that represents the URI for this table. */ public URI getUri() { return this.storageUri.getPrimaryUri(); }
/** * Returns the URI for this directory. * * @return A <code>java.net.URI</code> object that represents the URI for this directory. */ @Override public URI getUri() { return this.storageUri.getPrimaryUri(); }
/** * Returns the base URI for this service client. * * @return A <code>java.net.URI</code> object which represents the base URI for the service client. */ public final URI getEndpoint() { return this.storageUri.getPrimaryUri(); }
/** * Gets the URI of the blob. * * @return A <code>java.net.URI</code> object that represents the URI of the blob. */ public final URI getUri() { return this.storageUri.getPrimaryUri(); }
/** * Returns the URI for this file. * * @return A <code>java.net.URI</code> object that represents the URI for the file. */ @Override public final URI getUri() { return this.storageUri.getPrimaryUri(); }
/** * Returns the URI for this container. * * @return The absolute URI to the container. */ public URI getUri() { return this.storageUri.getPrimaryUri(); }
/** * Returns the URI for this directory. * * @return A <code>java.net.URI</code> object that represents the URI for this directory. */ @Override public URI getUri() { return this.storageUri.getPrimaryUri(); }
/** * Gets the absolute URI for this queue. * * @return A <code>java.net.URI</code> object that represents the URI for this queue. */ public URI getUri() { return this.storageUri.getPrimaryUri(); }
/** * Returns the endpoint for the File service for the storage account. This method is not supported when using shared * access signature credentials. * * @return A <code>java.net.URI</code> object that represents the File endpoint associated with this account. */ public URI getFileEndpoint() { if (this.fileStorageUri == null) { return null; } return this.fileStorageUri.getPrimaryUri(); }
/** * Returns the endpoint for the Table service for the storage account. * * @return A {@link StorageUri} object that represents the Table endpoint associated with this account. */ public URI getTableEndpoint() { if (this.tableStorageUri == null) { return null; } return this.tableStorageUri.getPrimaryUri(); }
/** * Returns the endpoint for the Queue service for the storage account. * * @return A <code>java.net.URI</code> object that represents the queue endpoint associated with this account. */ public URI getQueueEndpoint() { if (this.queueStorageUri == null) { return null; } return this.queueStorageUri.getPrimaryUri(); }
@Override public HttpURLConnection buildRequest( CloudFileClient client, CloudFileShare share, OperationContext context) throws Exception { return FileRequest.deleteShare( share.getTransformedAddress().getPrimaryUri(), options, context, accessCondition, share.snapshotID, deleteSnapshotsOption); }
/** * Sets the list of URIs for all locations. * * @param storageUri * A {@link StorageUri} object which represents the list of URIs for all locations. */ protected final void setStorageUri(final StorageUri storageUri) { this.usePathStyleUris = Utility.determinePathStyleFromUri(storageUri.getPrimaryUri()); this.storageUri = storageUri; }
@Override public HttpURLConnection buildRequest( CloudBlobClient client, CloudBlobContainer container, OperationContext context) throws Exception { return BlobRequest.deleteContainer( container.getTransformedAddress().getPrimaryUri(), options, context, accessCondition); }
/** * Strips the Query and Fragment from the uri. * * @param inUri * the uri to alter * @return the stripped uri. * @throws StorageException */ public static StorageUri stripURIQueryAndFragment(final StorageUri inUri) throws StorageException { return new StorageUri(stripSingleURIQueryAndFragment(inUri.getPrimaryUri()), stripSingleURIQueryAndFragment(inUri.getSecondaryUri())); }