org.jets3t.service.model
Class CreateBucketConfiguration
java.lang.Object
org.jets3t.service.model.CreateBucketConfiguration
public class CreateBucketConfiguration
- extends java.lang.Object
Represents the location configuraton to be applied to a newly
created Bucket.
- Author:
- James Murty
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateBucketConfiguration
public CreateBucketConfiguration()
CreateBucketConfiguration
public CreateBucketConfiguration(java.lang.String location)
getLocation
public java.lang.String getLocation()
setLocation
public void setLocation(java.lang.String location)
toXml
public java.lang.String toXml()
throws javax.xml.parsers.ParserConfigurationException,
javax.xml.parsers.FactoryConfigurationError,
javax.xml.transform.TransformerException
- Returns:
- An XML representation of the object suitable for use as an input to the REST/HTTP interface.
- Throws:
javax.xml.parsers.FactoryConfigurationError
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerException