com.baidubce.services.lss.model
Class Bos

java.lang.Object
  extended by com.baidubce.services.lss.model.Bos
All Implemented Interfaces:
Serializable

public class Bos
extends Object
implements Serializable

Represents the BOS information

See Also:
Serialized Form

Constructor Summary
Bos()
           
 
Method Summary
 String getBucket()
          Returns the bucket name.
 String getRegion()
          Returns the region ID.
 void setBucket(String bucket)
          Sets the bucket name.
 void setRegion(String region)
          Sets the region ID.
 String toString()
           
 Bos withBucket(String bucket)
          Sets the bucket name.
 Bos withRegion(String region)
          Sets the region ID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bos

public Bos()
Method Detail

getBucket

public String getBucket()
Returns the bucket name.

Returns:
the bucket name

setBucket

public void setBucket(String bucket)
Sets the bucket name.

Parameters:
bucket - the bucket name

withBucket

public Bos withBucket(String bucket)
Sets the bucket name.

Parameters:
bucket - the bucket name
Returns:
this object

getRegion

public String getRegion()
Returns the region ID.

Returns:
the region ID

setRegion

public void setRegion(String region)
Sets the region ID.

Parameters:
region - the region ID

withRegion

public Bos withRegion(String region)
Sets the region ID

Parameters:
region - the region ID
Returns:
this object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2018. All rights reserved.