public class CreateContainerOptions extends BaseHttpRequestOptions
Container
ContainerApi#create(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 |
headers(com.google.common.collect.Multimap<String,String> headers)
Sets the headers on a container at creation.
|
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.
|
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final CreateContainerOptions NONE
public CreateContainerOptions headers(com.google.common.collect.Multimap<String,String> headers)
public CreateContainerOptions metadata(Map<String,String> metadata)
public CreateContainerOptions anybodyRead()
public CreateContainerOptions versionsLocation(String containerName)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.