类 Bos
- java.lang.Object
-
- com.baidubce.services.lss.model.Bos
-
- 所有已实现的接口:
Serializable
public class Bos extends Object implements Serializable
Represents the BOS information- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 Bos()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetBucket()Returns the bucket name.StringgetRegion()Returns the region ID.voidsetBucket(String bucket)Sets the bucket name.voidsetRegion(String region)Sets the region ID.StringtoString()BoswithBucket(String bucket)Sets the bucket name.BoswithRegion(String region)Sets the region ID
-
-
-
方法详细资料
-
getBucket
public String getBucket()
Returns the bucket name.- 返回:
- the bucket name
-
setBucket
public void setBucket(String bucket)
Sets the bucket name.- 参数:
bucket- the bucket name
-
withBucket
public Bos withBucket(String bucket)
Sets the bucket name.- 参数:
bucket- the bucket name- 返回:
- this object
-
getRegion
public String getRegion()
Returns the region ID.- 返回:
- the region ID
-
setRegion
public void setRegion(String region)
Sets the region ID.- 参数:
region- the region ID
-
withRegion
public Bos withRegion(String region)
Sets the region ID- 参数:
region- the region ID- 返回:
- this object
-
-