|
||||||||||
| 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
org.jclouds.azureblob.options.CreateContainerOptions
public class CreateContainerOptions
Contains options supported in the REST API for the Create Container operation.
import static org.jclouds.azureblob.options.CreateContainerOptions.Builder.*
import org.jclouds.azureblob.AzureBlobClient;
AzureBlobClient connection = // get connection
boolean createdWithPublicAccess = connection.createContainer("containerName", withPublicAccess(PublicAccess.BLOB));
*
- See Also:
Nested Class Summary
static class
CreateContainerOptions.Builder
Field Summary
static CreateContainerOptions
NONE
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
Constructor Summary
CreateContainerOptions()
Method Summary
CreateContainerOptions
withMetadata(com.google.common.collect.Multimap<String,String> metadata)
CreateContainerOptions
withPublicAccess(PublicAccess access)
Indicates whether a container may be accessed publicly
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 CreateContainerOptions NONE
Constructor Detail
CreateContainerOptions
public CreateContainerOptions()
Method Detail
withMetadata
public CreateContainerOptions withMetadata(com.google.common.collect.Multimap<String,String> metadata)
- Overrides:
withMetadata in class org.jclouds.azure.storage.options.CreateOptions
withPublicAccess
public CreateContainerOptions withPublicAccess(PublicAccess access)
- Indicates whether a container may be accessed publicly
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.