org.jets3t.service.model
Class CreateBucketConfiguration

java.lang.Object
  extended by org.jets3t.service.model.CreateBucketConfiguration

public class CreateBucketConfiguration
extends Object

Represents the location configuraton to be applied to a newly created Bucket.

Author:
James Murty

Constructor Summary
CreateBucketConfiguration()
           
CreateBucketConfiguration(String location)
           
 
Method Summary
 String getLocation()
           
 void setLocation(String location)
           
 String toXml()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateBucketConfiguration

public CreateBucketConfiguration()

CreateBucketConfiguration

public CreateBucketConfiguration(String location)
Method Detail

getLocation

public String getLocation()

setLocation

public void setLocation(String location)

toXml

public String toXml()
             throws ParserConfigurationException,
                    FactoryConfigurationError,
                    TransformerException
Returns:
An XML representation of the object suitable for use as an input to the REST/HTTP interface.
Throws:
FactoryConfigurationError
ParserConfigurationException
TransformerException