public class CreateContainerOptions extends CreateContainerOptions
Container
.ContainerApi#createIfAbsent(String, CreateContainerOptions)
Modifier and Type | Class and Description |
---|---|
static class |
CreateContainerOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static CreateContainerOptions |
NONE |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateContainerOptions() |
Modifier and Type | Method and Description |
---|---|
CreateContainerOptions |
anybodyRead()
Sets the public ACL on the container so that anybody can read it.
|
CreateContainerOptions |
metadata(Map<String,String> metadata)
Sets the metadata on a container at creation.
|
CreateContainerOptions |
versionsLocation(String containerName)
Sets the container that will contain object versions.
|
headers
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final CreateContainerOptions NONE
public CreateContainerOptions metadata(Map<String,String> metadata)
metadata
in class CreateContainerOptions
public CreateContainerOptions versionsLocation(String containerName)
versionsLocation
in class CreateContainerOptions
public CreateContainerOptions anybodyRead()
anybodyRead
in class CreateContainerOptions
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.