Class Container.Builder
- java.lang.Object
-
- org.jclouds.openstack.swift.v1.domain.Container.Builder
-
-
Field Summary
Fields Modifier and Type Field Description protected com.google.common.base.Optional<Boolean>
anybodyRead
protected Long
bytesUsed
protected com.google.common.collect.Multimap<String,String>
headers
protected Map<String,String>
metadata
protected String
name
protected Long
objectCount
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Container.Builder
anybodyRead(Boolean anybodyRead)
Container
build()
Container.Builder
bytesUsed(Long bytesUsed)
Container.Builder
fromContainer(Container from)
Container.Builder
headers(com.google.common.collect.Multimap<String,String> headers)
Container.Builder
metadata(Map<String,String> metadata)
NOTEContainer.Builder
name(String name)
Container.Builder
objectCount(Long objectCount)
-
-
-
Method Detail
-
name
public Container.Builder name(String name)
- See Also:
Container.getName()
-
objectCount
public Container.Builder objectCount(Long objectCount)
- See Also:
Container.getObjectCount()
-
bytesUsed
public Container.Builder bytesUsed(Long bytesUsed)
- See Also:
Container.getBytesUsed()
-
anybodyRead
public Container.Builder anybodyRead(Boolean anybodyRead)
- See Also:
Container.getAnybodyRead()
-
metadata
public Container.Builder metadata(Map<String,String> metadata)
NOTE
This method will lower-case all metadata keys.- See Also:
Container.getMetadata()
-
headers
public Container.Builder headers(com.google.common.collect.Multimap<String,String> headers)
- See Also:
Container.getHeaders()
-
build
public Container build()
-
fromContainer
public Container.Builder fromContainer(Container from)
-
-