public final class CreateUpdateContainerOptions extends Object
Modifier and Type | Method and Description |
---|---|
CreateUpdateContainerOptions |
accessAnybodyRead()
Sets the read ACL (if supported) to allow public access
|
CreateUpdateContainerOptions |
accessRead(String acl)
Sets the read ACL (if supported)
|
CreateUpdateContainerOptions |
accessWrite(String acl)
Sets the write ACL (if supported)
|
static CreateUpdateContainerOptions |
create()
Creates a new CreateUpdateContainerOptions
|
Map<String,String> |
getOptions() |
CreateUpdateContainerOptions |
headers(Map<String,String> headers)
Adds additional headers to the create or update request
|
CreateUpdateContainerOptions |
metadata(Map<String,String> metadata)
Sets the metadata against the container being created or updated
|
CreateUpdateContainerOptions |
versionsLocation(String containerName)
Enables versioning on this container.
|
public static final CreateUpdateContainerOptions create()
public CreateUpdateContainerOptions headers(Map<String,String> headers)
headers
- the headers to addpublic CreateUpdateContainerOptions metadata(Map<String,String> metadata)
metadata
- the metadata to setpublic CreateUpdateContainerOptions versionsLocation(String containerName)
containerName
- the container name of the other containerpublic CreateUpdateContainerOptions accessAnybodyRead()
public CreateUpdateContainerOptions accessRead(String acl)
acl
- the read access control listpublic CreateUpdateContainerOptions accessWrite(String acl)
acl
- the write access control listCopyright © 2017. All rights reserved.