Class CreateOptions

java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.azure.storage.options.CreateOptions
All Implemented Interfaces:
HttpRequestOptions
Direct Known Subclasses:
CreateContainerOptions

public class CreateOptions extends BaseHttpRequestOptions
Contains common options supported in the REST API for the Create operation.

Usage

The recommended way to instantiate a CreateOptions object is to statically import CreateOptions.* and invoke a static creation method followed by an instance mutator (if needed):

import static CreateOptions.Builder.* import org.jclouds.azure.storage.queue.AzureQueueClient;

AzureQueueClient connection = // get connection Multimapinvalid input: '<'String,String> metadata = // ... boolean createdWithPublicAcl = connection.createQueue("containerName", withMetadata(metadata)); *

See Also:
  • Field Details

  • Constructor Details

    • CreateOptions

      public CreateOptions()
  • Method Details

    • withMetadata

      public CreateOptions withMetadata(com.google.common.collect.Multimap<String,String> metadata)
      A name-value pair to associate with the container as metadata. Note that these are stored at the server under the prefix: x-ms-meta-