CloudBlobContainer.setMetadata(final HashMap<String, String> metadata) Method

Definition

Sets the metadata collection of name-value pairs to be set on the container with an uploadMetadata call. This collection will overwrite any existing container metadata. If this is set to an empty collection, the container metadata will be cleared on an uploadMetadata call.

public void setMetadata(final HashMap<String, String> metadata)
Parameters
metadata
final HashMap<String, String>

A java.util.HashMap object that represents the metadata being assigned to the container.