|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.azure.storage.options.CreateOptions
public class CreateOptions
Contains common options supported in the REST API for the Create operation.
import static org.jclouds.azure.storage.options.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
static class
CreateOptions.Builder
Field Summary
static CreateOptions
NONE
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
Constructor Summary
CreateOptions()
Method Summary
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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Field Detail
NONE
public static final CreateOptions NONE
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-
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.