Package org.jets3t.service.model
Class CreateBucketConfiguration
- java.lang.Object
-
- 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
Constructors Constructor Description CreateBucketConfiguration()CreateBucketConfiguration(String location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLocation()voidsetLocation(String location)StringtoXml()
-
-
-
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:
FactoryConfigurationErrorParserConfigurationExceptionTransformerException
-
-