public class CreateContainerOptions extends CreateOptions
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));
*
Modifier and Type | Class and Description |
---|---|
static class |
CreateContainerOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static CreateContainerOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateContainerOptions() |
Modifier and Type | Method and Description |
---|---|
CreateContainerOptions |
withMetadata(com.google.common.collect.Multimap<String,String> metadata)
A name-value pair to associate with the container as metadata.
|
CreateContainerOptions |
withPublicAccess(PublicAccess access)
Indicates whether a container may be accessed publicly
|
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final CreateContainerOptions NONE
public CreateContainerOptions withMetadata(com.google.common.collect.Multimap<String,String> metadata)
CreateOptions
withMetadata
in class CreateOptions
public CreateContainerOptions withPublicAccess(PublicAccess access)
Copyright © 2009-2013 jclouds. All Rights Reserved.