Class CreateOptions

  • All Implemented Interfaces:
    org.jclouds.http.options.HttpRequestOptions
    Direct Known Subclasses:
    CreateContainerOptions

    public class CreateOptions
    extends org.jclouds.http.options.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 Multimap metadata = // ... boolean createdWithPublicAcl = connection.createQueue("containerName", withMetadata(metadata)); *

    See Also:
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  CreateOptions.Builder  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static CreateOptions NONE  
      • Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions

        formParameters, headers, pathSuffix, payload, queryParameters
    • Constructor Summary

      Constructors 
      Constructor Description
      CreateOptions()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CreateOptions withMetadata​(com.google.common.collect.Multimap<String,​String> metadata)
      A name-value pair to associate with the container as metadata.
      • Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions

        buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
    • Constructor Detail

      • CreateOptions

        public CreateOptions()
    • Method Detail

      • 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-