|
||||||||||
| 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.hpcloud.objectstorage.lvs.options.CreateContainerOptions
public class CreateContainerOptions
Contains options supported in the REST API for the Create Container operation. This specifically enabes the Swift ACL for public reads using the 'X-Container-Read' header. This should be refactored into the Swift API.
| Nested Class Summary | |
|---|---|
static class |
CreateContainerOptions.Builder
|
| Field Summary | |
|---|---|
static CreateContainerOptions |
NONE
|
| Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
|---|
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters |
| Constructor Summary | |
|---|---|
CreateContainerOptions()
|
|
| Method Summary | |
|---|---|
CreateContainerOptions |
withMetadata(Map<String,String> metadata)
A name-value pair to associate with the container as metadata. |
CreateContainerOptions |
withPublicAccess()
Indicates whether a container may be accessed publicly |
| Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
|---|
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final CreateContainerOptions NONE
| Constructor Detail |
|---|
public CreateContainerOptions()
| Method Detail |
|---|
public CreateContainerOptions withMetadata(Map<String,String> metadata)
public CreateContainerOptions withPublicAccess()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||