org.jets3t.service.model
Class CreateBucketConfiguration

java.lang.Object
  extended by 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

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

Constructor Detail

CreateBucketConfiguration

public CreateBucketConfiguration()

CreateBucketConfiguration

public CreateBucketConfiguration(java.lang.String location)
Method Detail

getLocation

public java.lang.String getLocation()

setLocation

public void setLocation(java.lang.String location)

toXml

public java.lang.String toXml()
Returns:
An XML representation of the object suitable for use as an input to the REST/HTTP interface.