com.aliyun.openservices.oss.model
类 CreateBucketRequest

java.lang.Object
  继承者 com.aliyun.openservices.oss.model.CreateBucketRequest

public class CreateBucketRequest
extends Object


构造方法摘要
CreateBucketRequest(String bucketName)
           
 
方法摘要
 String getBucketName()
          获取要建立的Bucket的名称
 String getLocationConstraint()
          获取Bucket所在数据中心
 void setBucketName(String bucketName)
          设置要建立的Bucket的名称
 void setLocationConstraint(String locationConstraint)
          设置Bucket所在的数据中心
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CreateBucketRequest

public CreateBucketRequest(String bucketName)
方法详细信息

getBucketName

public String getBucketName()
获取要建立的Bucket的名称

返回:
Bucket的名称

setBucketName

public void setBucketName(String bucketName)
设置要建立的Bucket的名称

参数:
bucketName - Bucket的名称

getLocationConstraint

public String getLocationConstraint()
获取Bucket所在数据中心

返回:
Bucket所在的数据中心

setLocationConstraint

public void setLocationConstraint(String locationConstraint)
设置Bucket所在的数据中心

参数:
locationConstraint - Bucket所在的数据中心名称


Copyright © 2014. All Rights Reserved.