Class CreateContainerOptions

  • All Implemented Interfaces:
    HttpRequestOptions

    public class CreateContainerOptions
    extends CreateOptions
    Contains options supported in the REST API for the Create Container operation.

    Usage

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

    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: