构造器和说明 |
---|
OSSClient(String endpoint,
CredentialsProvider credsProvider)
使用默认配置及指定的
CredentialsProvider 与Endpoint构造一个新的OSSClient 对象。 |
OSSClient(String endpoint,
CredentialsProvider credsProvider,
ClientConfiguration config)
使用指定的
CredentialsProvider 、配置及Endpoint构造一个新的OSSClient 对象。 |
OSSClient(String accessKeyId,
String secretAccessKey)
已过时。
|
OSSClient(String endpoint,
String accessKeyId,
String secretAccessKey)
使用指定的OSS Endpoint、阿里云颁发的Access Id/Access Key构造一个新的
OSSClient 对象。 |
OSSClient(String endpoint,
String accessKeyId,
String secretAccessKey,
ClientConfiguration config)
使用指定的OSS Endpoint、阿里云颁发的Access Id/Access Key、客户端配置
构造一个新的
OSSClient 对象。 |
OSSClient(String endpoint,
String accessKeyId,
String secretAccessKey,
String securityToken)
使用指定的OSS Endpoint、STS提供的临时Token信息(Access Id/Access Key/Security Token)
构造一个新的
OSSClient 对象。 |
OSSClient(String endpoint,
String accessKeyId,
String secretAccessKey,
String securityToken,
ClientConfiguration config)
使用指定的OSS Endpoint、STS提供的临时Token信息(Access Id/Access Key/Security Token)、
客户端配置构造一个新的
OSSClient 对象。 |
@Deprecated public OSSClient(String accessKeyId, String secretAccessKey)
OSSClient
对象。accessKeyId
- 访问OSS的Access Key ID。secretAccessKey
- 访问OSS的Secret Access Key。public OSSClient(String endpoint, String accessKeyId, String secretAccessKey)
OSSClient
对象。endpoint
- OSS服务的Endpoint。accessKeyId
- 访问OSS的Access Key ID。secretAccessKey
- 访问OSS的Secret Access Key。public OSSClient(String endpoint, String accessKeyId, String secretAccessKey, String securityToken)
OSSClient
对象。endpoint
- OSS服务的Endpoint。accessKeyId
- STS提供的临时访问ID。secretAccessKey
- STS提供的访问密钥。securityToken
- STS提供的安全令牌。public OSSClient(String endpoint, String accessKeyId, String secretAccessKey, ClientConfiguration config)
OSSClient
对象。endpoint
- OSS服务的Endpoint。accessKeyId
- 访问OSS的Access Key ID。secretAccessKey
- 访问OSS的Secret Access Key。config
- 客户端配置 ClientConfiguration
。 如果为null则会使用默认配置。public OSSClient(String endpoint, String accessKeyId, String secretAccessKey, String securityToken, ClientConfiguration config)
OSSClient
对象。endpoint
- OSS服务的Endpoint。accessKeyId
- STS提供的临时访问ID。secretAccessKey
- STS提供的访问密钥。securityToken
- STS提供的安全令牌。config
- 客户端配置 ClientConfiguration
。 如果为null则会使用默认配置。public OSSClient(String endpoint, CredentialsProvider credsProvider)
CredentialsProvider
与Endpoint构造一个新的OSSClient
对象。endpoint
- OSS services的Endpoint。credsProvider
- Credentials提供者。public OSSClient(String endpoint, CredentialsProvider credsProvider, ClientConfiguration config)
CredentialsProvider
、配置及Endpoint构造一个新的OSSClient
对象。endpoint
- OSS services的Endpoint。credsProvider
- Credentials提供者。config
- client配置。public URI getEndpoint()
public void setEndpoint(String endpoint)
endpoint
- OSS services的Endpoint。public void switchCredentials(Credentials creds)
OSS
switchCredentials
在接口中 OSS
creds
- 用户身份认证。public CredentialsProvider getCredentialsProvider()
public ClientConfiguration getClientConfiguration()
public Bucket createBucket(String bucketName) throws OSSException, ClientException
OSS
Bucket
。createBucket
在接口中 OSS
bucketName
- Bucket名称。OSSException
ClientException
public Bucket createBucket(CreateBucketRequest createBucketRequest) throws OSSException, ClientException
OSS
Bucket
。createBucket
在接口中 OSS
createBucketRequest
- 请求参数CreateBucketRequest
。OSSException
ClientException
public void deleteBucket(String bucketName) throws OSSException, ClientException
OSS
Bucket
。deleteBucket
在接口中 OSS
bucketName
- Bucket名称。OSSException
ClientException
public void deleteBucket(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
。deleteBucket
在接口中 OSS
genericRequest
- 请求信息。OSSException
ClientException
public List<Bucket> listBuckets() throws OSSException, ClientException
OSS
Bucket
的列表。listBuckets
在接口中 OSS
Bucket
的列表。OSSException
ClientException
public BucketList listBuckets(ListBucketsRequest listBucketsRequest) throws OSSException, ClientException
OSS
Bucket
列表。listBuckets
在接口中 OSS
listBucketsRequest
- 请求信息Bucket
的列表。OSSException
ClientException
public BucketList listBuckets(String prefix, String marker, Integer maxKeys) throws OSSException, ClientException
OSS
Bucket
列表。listBuckets
在接口中 OSS
prefix
- 限定返回的bucket的名字必须以prefix作为前缀,可以为null(表示不设置前缀)marker
- 设定结果从marker之后按字母排序的第一个开始返回,可以为null(表示没有marker的点,从头开始返回)maxKeys
- 限定此次返回bucket的最大数,取值不能大于1000,默认为100,可以为null(表示默认返回最多100个)Bucket
的列表。OSSException
ClientException
public void setBucketAcl(String bucketName, CannedAccessControlList cannedACL) throws OSSException, ClientException
OSS
Bucket
的Access Control List(ACL)。setBucketAcl
在接口中 OSS
bucketName
- Bucket名称。cannedACL
- CannedAccessControlList
中列出的ACL。
如果传入null,则保持Bucket原先的ACL不变。OSSException
ClientException
public void setBucketAcl(SetBucketAclRequest setBucketAclRequest) throws OSSException, ClientException
OSS
Bucket
的Access Control List(ACL)。setBucketAcl
在接口中 OSS
setBucketAclRequest
- 请求信息。OSSException
ClientException
public AccessControlList getBucketAcl(String bucketName) throws OSSException, ClientException
OSS
Bucket
的Access Control List(ACL)。getBucketAcl
在接口中 OSS
bucketName
- Bucket名称。AccessControlList
。OSSException
ClientException
public AccessControlList getBucketAcl(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
的Access Control List(ACL)。getBucketAcl
在接口中 OSS
genericRequest
- 请求信息。AccessControlList
。OSSException
ClientException
public void setBucketReferer(String bucketName, BucketReferer referer) throws OSSException, ClientException
OSS
Bucket
的http referer。setBucketReferer
在接口中 OSS
bucketName
- Bucket名称。referer
- BucketReferer
。
如果传入null,则表示使用默认值BucketReferer
。OSSException
ClientException
public void setBucketReferer(SetBucketRefererRequest setBucketRefererRequest) throws OSSException, ClientException
OSS
Bucket
的http referer。setBucketReferer
在接口中 OSS
setBucketRefererRequest
- 请求信息。OSSException
ClientException
public BucketReferer getBucketReferer(String bucketName) throws OSSException, ClientException
OSS
Bucket
的http referer。getBucketReferer
在接口中 OSS
bucketName
- Bucket名称。BucketReferer
。OSSException
ClientException
public BucketReferer getBucketReferer(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
的http referer。getBucketReferer
在接口中 OSS
genericRequest
- 请求信息。BucketReferer
。OSSException
ClientException
public String getBucketLocation(String bucketName) throws OSSException, ClientException
OSS
Bucket
所在的数据中心。getBucketLocation
在接口中 OSS
bucketName
- Bucket名称。OSSException
ClientException
public String getBucketLocation(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
所在的数据中心。getBucketLocation
在接口中 OSS
genericRequest
- 请求信息。OSSException
ClientException
public boolean doesBucketExist(String bucketName) throws OSSException, ClientException
OSS
Bucket
是否存在。doesBucketExist
在接口中 OSS
bucketName
- Bucket名称。OSSException
ClientException
public boolean doesBucketExist(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
是否存在。doesBucketExist
在接口中 OSS
genericRequest
- 请求信息。OSSException
ClientException
@Deprecated public boolean isBucketExist(String bucketName) throws OSSException, ClientException
doesBucketExist(String)
。public ObjectListing listObjects(String bucketName) throws OSSException, ClientException
OSS
listObjects
在接口中 OSS
bucketName
- Bucket名称。ObjectListing
OSSException
ClientException
public ObjectListing listObjects(String bucketName, String prefix) throws OSSException, ClientException
OSS
listObjects
在接口中 OSS
bucketName
- Bucket名称。prefix
- 限定返回的Object key必须以prefix作为前缀。ObjectListing
OSSException
ClientException
public ObjectListing listObjects(ListObjectsRequest listObjectsRequest) throws OSSException, ClientException
OSS
listObjects
在接口中 OSS
listObjectsRequest
- 请求信息。ObjectListing
OSSException
ClientException
public PutObjectResult putObject(String bucketName, String key, InputStream input) throws OSSException, ClientException
OSS
putObject
在接口中 OSS
bucketName
- Bucket名称。key
- object的key。input
- 输入流。OSSException
ClientException
public PutObjectResult putObject(String bucketName, String key, InputStream input, ObjectMetadata metadata) throws OSSException, ClientException
OSS
putObject
在接口中 OSS
bucketName
- Bucket名称。key
- object的key。input
- 输入流。metadata
- object的元信息ObjectMetadata
,若该元信息未包含Content-Length,
则采用chunked编码传输请求数据。OSSException
ClientException
public PutObjectResult putObject(String bucketName, String key, File file, ObjectMetadata metadata) throws OSSException, ClientException
OSS
Bucket
。putObject
在接口中 OSS
bucketName
- Bucket名称。key
- object的key。file
- 指定上传文件。metadata
- object的元信息ObjectMetadata
,若该元信息未包含Content-Length,
则采用chunked编码传输请求数据。OSSException
ClientException
public PutObjectResult putObject(String bucketName, String key, File file) throws OSSException, ClientException
OSS
Bucket
。putObject
在接口中 OSS
bucketName
- Bucket名称。key
- object的key。file
- 指定上传文件。OSSException
ClientException
public PutObjectResult putObject(PutObjectRequest putObjectRequest) throws OSSException, ClientException
OSS
Bucket
。putObject
在接口中 OSS
putObjectRequest
- 请求参数PutObjectRequest
。PutObjectResult
实例。OSSException
ClientException
public PutObjectResult putObject(URL signedUrl, String filePath, Map<String,String> requestHeaders) throws OSSException, ClientException
OSS
putObject
在接口中 OSS
signedUrl
- PUT请求类型的URL签名。filePath
- 上传文件的路径。requestHeaders
- 请求头(包括HTTP标准请求头、用户自定义请求头)。PutObjectResult
实例。OSSException
ClientException
public PutObjectResult putObject(URL signedUrl, String filePath, Map<String,String> requestHeaders, boolean useChunkEncoding) throws OSSException, ClientException
OSS
putObject
在接口中 OSS
signedUrl
- PUT请求类型的URL签名。filePath
- 上传文件的路径。requestHeaders
- 请求头(包括HTTP标准请求头、用户自定义请求头)。useChunkEncoding
- 是否采用chunked编码传输请求数据。PutObjectResult
实例。OSSException
ClientException
public PutObjectResult putObject(URL signedUrl, InputStream requestContent, long contentLength, Map<String,String> requestHeaders) throws OSSException, ClientException
OSS
putObject
在接口中 OSS
signedUrl
- PUT请求类型的URL签名。requestContent
- 请求输入流。contentLength
- 请求输入流的长度。requestHeaders
- 请求头(包括HTTP标准请求头、用户自定义请求头)。PutObjectResult
实例。OSSException
ClientException
public PutObjectResult putObject(URL signedUrl, InputStream requestContent, long contentLength, Map<String,String> requestHeaders, boolean useChunkEncoding) throws OSSException, ClientException
OSS
putObject
在接口中 OSS
signedUrl
- PUT请求类型的URL签名。requestContent
- 请求输入流。contentLength
- 请求输入流的长度,如果采用chunked编码则设置为-1。requestHeaders
- 请求头(包括HTTP标准请求头、用户自定义请求头)。useChunkEncoding
- 是否采用chunked编码传输请求数据。PutObjectResult
实例。OSSException
ClientException
public CopyObjectResult copyObject(String sourceBucketName, String sourceKey, String destinationBucketName, String destinationKey) throws OSSException, ClientException
OSS
copyObject
在接口中 OSS
sourceBucketName
- 源Object所在的Bucket的名称。sourceKey
- 源Object的Key。destinationBucketName
- 目标Object所在的Bucket的名称。destinationKey
- 目标Object的Key。CopyObjectResult
实例。OSSException
ClientException
public CopyObjectResult copyObject(CopyObjectRequest copyObjectRequest) throws OSSException, ClientException
OSS
copyObject
在接口中 OSS
copyObjectRequest
- 请求参数CopyObjectRequest
实例。OSSException
ClientException
public OSSObject getObject(String bucketName, String key) throws OSSException, ClientException
OSS
getObject
在接口中 OSS
bucketName
- Bucket名称。key
- Object Key。OSSObject
实例。使用完之后需要手动关闭其中的ObjectContent释放请求连接。OSSException
ClientException
public ObjectMetadata getObject(GetObjectRequest getObjectRequest, File file) throws OSSException, ClientException
OSS
getObject
在接口中 OSS
getObjectRequest
- 请求参数GetObjectRequest
。file
- 目标文件。OSSException
ClientException
public OSSObject getObject(GetObjectRequest getObjectRequest) throws OSSException, ClientException
OSS
getObject
在接口中 OSS
getObjectRequest
- 请求参数GetObjectRequest
。OSSObject
实例。使用完之后需要手动关闭其中的ObjectContent释放请求连接。OSSException
ClientException
public OSSObject getObject(URL signedUrl, Map<String,String> requestHeaders) throws OSSException, ClientException
OSS
OSSObject
。getObject
在接口中 OSS
signedUrl
- GET请求类型的URL签名。requestHeaders
- 请求头(包括HTTP标准请求头、用户自定义请求头)。OSSObject
实例。使用完之后需要手动关闭其中的ObjectContent释放请求连接。OSSException
ClientException
public SimplifiedObjectMeta getSimplifiedObjectMeta(String bucketName, String key) throws OSSException, ClientException
OSS
OSSObject
的基本元信息。
相比Head Object更轻量,仅返回指定Object的少量基本meta信息, 包括该Object的ETag、Size(文件大小)、LastModified(最后修改时间)。
getSimplifiedObjectMeta
在接口中 OSS
bucketName
- Bucket名称。key
- Object key。OSSObject
的基本元信息SimplifiedObjectMeta
。OSSException
ClientException
public SimplifiedObjectMeta getSimplifiedObjectMeta(GenericRequest genericRequest) throws OSSException, ClientException
OSS
OSSObject
的基本元信息。
相比Head Object更轻量,仅返回指定Object的少量基本meta信息, 包括该Object的ETag、Size(文件大小)、LastModified(最后修改时间)。
getSimplifiedObjectMeta
在接口中 OSS
genericRequest
- 请求信息。OSSObject
的基本元信息SimplifiedObjectMeta
。OSSException
ClientException
public ObjectMetadata getObjectMetadata(String bucketName, String key) throws OSSException, ClientException
OSS
OSSObject
的元数据。getObjectMetadata
在接口中 OSS
bucketName
- Bucket名称。key
- Object key。OSSException
ClientException
public ObjectMetadata getObjectMetadata(GenericRequest genericRequest) throws OSSException, ClientException
OSS
OSSObject
的元数据。getObjectMetadata
在接口中 OSS
genericRequest
- 请求信息。OSSException
ClientException
public AppendObjectResult appendObject(AppendObjectRequest appendObjectRequest) throws OSSException, ClientException
OSS
appendObject
在接口中 OSS
appendObjectRequest
- 请求参数AppendObjectRequest
实例。OSSException
ClientException
public void deleteObject(String bucketName, String key) throws OSSException, ClientException
OSS
OSSObject
。deleteObject
在接口中 OSS
bucketName
- Bucket名称。key
- Object key。OSSException
ClientException
public void deleteObject(GenericRequest genericRequest) throws OSSException, ClientException
OSS
OSSObject
。deleteObject
在接口中 OSS
genericRequest
- 请求信息。OSSException
ClientException
public DeleteObjectsResult deleteObjects(DeleteObjectsRequest deleteObjectsRequest) throws OSSException, ClientException
OSS
OSSObject
。deleteObjects
在接口中 OSS
deleteObjectsRequest
- 请求参数DeleteObjectsRequest
实例。OSSException
ClientException
public boolean doesObjectExist(String bucketName, String key) throws OSSException, ClientException
OSS
doesObjectExist
在接口中 OSS
bucketName
- Bucket名称。key
- Object Key。OSSException
ClientException
public boolean doesObjectExist(String bucketName, String key, boolean isOnlyInOSS)
OSS
doesObjectExist
在接口中 OSS
bucketName
- Bucket名称。key
- Object Key。isOnlyInOSS
- true 不受镜像/302等其它跳转的影响,只检查Object是否在OSS中;
false 受镜像/302跳转的影响,如果OSS中不存在,会根据镜像/302的配置检查Object是否存在。@Deprecated public boolean doesObjectExist(HeadObjectRequest headObjectRequest) throws OSSException, ClientException
OSS
OSSObject
是否存在。doesObjectExist
在接口中 OSS
headObjectRequest
- 请求参数HeadObjectRequest
实例。OSSException
ClientException
public boolean doesObjectExist(GenericRequest genericRequest) throws OSSException, ClientException
OSS
OSSObject
在OSS上是否存在。doesObjectExist
在接口中 OSS
genericRequest
- 请求参数GenericRequest
实例。OSSException
ClientException
public void setObjectAcl(String bucketName, String key, CannedAccessControlList cannedACL) throws OSSException, ClientException
OSS
OSSObject
的Access Control List(ACL)。setObjectAcl
在接口中 OSS
bucketName
- Bucket名称。key
- Object Key。cannedACL
- Private/PublicRead/PublicReadWrite中的一种。OSSException
ClientException
public void setObjectAcl(SetObjectAclRequest setObjectAclRequest) throws OSSException, ClientException
OSS
OSSObject
的Access Control List(ACL)。setObjectAcl
在接口中 OSS
setObjectAclRequest
- 请求信息。OSSException
ClientException
public ObjectAcl getObjectAcl(String bucketName, String key) throws OSSException, ClientException
OSS
OSSObject
的Access Control List(ACL)。getObjectAcl
在接口中 OSS
bucketName
- Bucket名称。key
- Object Key。OSSObject
的Access Control List(ACL)。OSSException
ClientException
public ObjectAcl getObjectAcl(GenericRequest genericRequest) throws OSSException, ClientException
OSS
OSSObject
的Access Control List(ACL)。getObjectAcl
在接口中 OSS
genericRequest
- 请求信息。OSSException
ClientException
public RestoreObjectResult restoreObject(String bucketName, String key) throws OSSException, ClientException
OSS
restoreObject
在接口中 OSS
bucketName
- Bucket名称。key
- Object Key。RestoreObjectResult
实例。OSSException
ClientException
public RestoreObjectResult restoreObject(GenericRequest genericRequest) throws OSSException, ClientException
OSS
restoreObject
在接口中 OSS
genericRequest
- 请求信息。RestoreObjectResult
实例。OSSException
ClientException
public URL generatePresignedUrl(String bucketName, String key, Date expiration) throws ClientException
OSS
OSSObject
的URL。generatePresignedUrl
在接口中 OSS
bucketName
- Bucket名称。key
- Object key。expiration
- URL的超时时间。OSSObject
的URL。ClientException
public URL generatePresignedUrl(String bucketName, String key, Date expiration, HttpMethod method) throws ClientException
OSS
OSSObject
的URL。generatePresignedUrl
在接口中 OSS
bucketName
- Bucket名称。key
- Object Key。expiration
- URL的超时时间。method
- HTTP方法,只支持HttpMethod.GET
和HttpMethod.PUT
。OSSObject
的URL。ClientException
public URL generatePresignedUrl(GeneratePresignedUrlRequest request) throws ClientException
OSS
OSSObject
的URL。generatePresignedUrl
在接口中 OSS
request
- GeneratePresignedUrlRequest
对象。OSSObject
的URL。ClientException
public void abortMultipartUpload(AbortMultipartUploadRequest request) throws OSSException, ClientException
OSS
abortMultipartUpload
在接口中 OSS
request
- AbortMultipartUploadRequest
对象。ClientException
OSSException
public CompleteMultipartUploadResult completeMultipartUpload(CompleteMultipartUploadRequest request) throws OSSException, ClientException
OSS
在将所有数据Part 都上传完成后,可以调用 Complete Multipart Upload API 来完成整个文件的 Multipart Upload。在执行该操作时,用户必须提供所有有效 的数据Part的列表(包括part号码和ETAG); OSS收到用户提交的Part列表后, 会逐一验证每个数据 Part 的有效性。当所有的数据 Part 验证通过后,OSS 将把 这些数据part组合成一个完整的 Object。
此方法对应的操作为非幂等操作,SDK不会对其进行重试(即使设置最大重试次数大于0也不会重试)
completeMultipartUpload
在接口中 OSS
request
- CompleteMultipartUploadRequest
对象。ClientException
OSSException
public InitiateMultipartUploadResult initiateMultipartUpload(InitiateMultipartUploadRequest request) throws OSSException, ClientException
OSS
使用Multipart模式上传数据前,必须先调用该接口来通过OSS初始化一个Multipart上传事件。 该接口会返回一个OSS服务器创建的全局唯一的Upload ID,用于标识本次Multipart上传事件。 用户可以根据这个ID来发起相关的操作,如中止、查询Multipart上传等。
此方法对应的操作为非幂等操作,SDK不会对其进行重试(即使设置最大重试次数大于0也不会重试)
initiateMultipartUpload
在接口中 OSS
request
- InitiateMultipartUploadRequest
对象。ClientException
OSSException
public MultipartUploadListing listMultipartUploads(ListMultipartUploadsRequest request) throws OSSException, ClientException
OSS
即已经被初始化的 Multipart Upload 但是未被完成或被终止的 Multipart上传事件。 OSS返回的罗列结果中最多会包含1000个Multipart上传事件。
listMultipartUploads
在接口中 OSS
request
- ListMultipartUploadsRequest
对象。MultipartUploadListing
。ClientException
OSSException
public PartListing listParts(ListPartsRequest request) throws OSSException, ClientException
OSS
listParts
在接口中 OSS
request
- ListPartsRequest
对象。ClientException
OSSException
public UploadPartResult uploadPart(UploadPartRequest request) throws OSSException, ClientException
OSS
uploadPart
在接口中 OSS
request
- UploadPartRequest
对象。UploadPartResult
。ClientException
OSSException
public UploadPartCopyResult uploadPartCopy(UploadPartCopyRequest request) throws OSSException, ClientException
OSS
uploadPartCopy
在接口中 OSS
request
- 分片拷贝请求参数。OSSException
ClientException
public void setBucketCORS(SetBucketCORSRequest request) throws OSSException, ClientException
OSS
setBucketCORS
在接口中 OSS
request
- SetBucketCORSRequest
}OSSException
ClientException
public List<SetBucketCORSRequest.CORSRule> getBucketCORSRules(String bucketName) throws OSSException, ClientException
OSS
getBucketCORSRules
在接口中 OSS
OSSException
ClientException
public List<SetBucketCORSRequest.CORSRule> getBucketCORSRules(GenericRequest genericRequest) throws OSSException, ClientException
OSS
getBucketCORSRules
在接口中 OSS
genericRequest
- 请求信息。OSSException
ClientException
public void deleteBucketCORSRules(String bucketName) throws OSSException, ClientException
OSS
deleteBucketCORSRules
在接口中 OSS
OSSException
ClientException
public void deleteBucketCORSRules(GenericRequest genericRequest) throws OSSException, ClientException
OSS
deleteBucketCORSRules
在接口中 OSS
genericRequest
- 请求信息。OSSException
ClientException
public ResponseMessage optionsObject(OptionsRequest request) throws OSSException, ClientException
OSS
optionsObject
在接口中 OSS
OSSException
ClientException
public void setBucketLogging(SetBucketLoggingRequest request) throws OSSException, ClientException
OSS
Bucket
的访问日志记录功能。
这个功能开启后,OSS将自动记录访问这个Bucket
请求的详细信息,并按照用户指定的规则,
以小时为单位,将访问日志作为一个Object写入用户指定的Bucket
。setBucketLogging
在接口中 OSS
request
- PutBucketLoggingRequest
对象。OSSException
ClientException
public BucketLoggingResult getBucketLogging(String bucketName) throws OSSException, ClientException
OSS
Bucket
的访问日志配置。getBucketLogging
在接口中 OSS
OSSException
ClientException
public BucketLoggingResult getBucketLogging(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
的访问日志配置。getBucketLogging
在接口中 OSS
genericRequest
- 请求信息。OSSException
ClientException
public void deleteBucketLogging(String bucketName) throws OSSException, ClientException
OSS
Bucket
的访问日志记录功能。deleteBucketLogging
在接口中 OSS
OSSException
ClientException
public void deleteBucketLogging(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
的访问日志记录功能。deleteBucketLogging
在接口中 OSS
genericRequest
- 请求信息。OSSException
ClientException
public void putBucketImage(PutBucketImageRequest request) throws OSSException, ClientException
OSS
Bucket
图片处理功能putBucketImage
在接口中 OSS
OSSException
ClientException
public GetBucketImageResult getBucketImage(String bucketName) throws OSSException, ClientException
OSS
Bucket
图片处理功能属性getBucketImage
在接口中 OSS
OSSException
ClientException
public GetBucketImageResult getBucketImage(String bucketName, GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
图片处理功能属性getBucketImage
在接口中 OSS
OSSException
ClientException
public void deleteBucketImage(String bucketName) throws OSSException, ClientException
OSS
Bucket
图片处理功能deleteBucketImage
在接口中 OSS
OSSException
ClientException
public void deleteBucketImage(String bucketName, GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
图片处理功能deleteBucketImage
在接口中 OSS
OSSException
ClientException
public void putImageStyle(PutImageStyleRequest putImageStyleRequest) throws OSSException, ClientException
OSS
Bucket
图片处理样式putImageStyle
在接口中 OSS
OSSException
ClientException
public void deleteImageStyle(String bucketName, String styleName) throws OSSException, ClientException
OSS
Bucket
名为styleName 的 styledeleteImageStyle
在接口中 OSS
OSSException
ClientException
public void deleteImageStyle(String bucketName, String styleName, GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
名为styleName 的 styledeleteImageStyle
在接口中 OSS
OSSException
ClientException
public GetImageStyleResult getImageStyle(String bucketName, String styleName) throws OSSException, ClientException
OSS
Bucket
名为styleName 的样式getImageStyle
在接口中 OSS
OSSException
ClientException
public GetImageStyleResult getImageStyle(String bucketName, String styleName, GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
名为styleName 的样式getImageStyle
在接口中 OSS
OSSException
ClientException
public List<Style> listImageStyle(String bucketName) throws OSSException, ClientException
OSS
Bucket
bucketName下的所有样式listImageStyle
在接口中 OSS
OSSException
ClientException
public List<Style> listImageStyle(String bucketName, GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
bucketName下的所有样式listImageStyle
在接口中 OSS
OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void setBucketProcess(SetBucketProcessRequest setBucketProcessRequest) throws OSSException, ClientException
OSS
setBucketProcess
在接口中 OSS
setBucketProcessRequest
- 请求信息。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public BucketProcess getBucketProcess(String bucketName) throws OSSException, ClientException
OSS
getBucketProcess
在接口中 OSS
bucketName
- Bucket名称。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public BucketProcess getBucketProcess(GenericRequest genericRequest) throws OSSException, ClientException
OSS
getBucketProcess
在接口中 OSS
genericRequest
- 请求信息。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void setBucketWebsite(SetBucketWebsiteRequest setBucketWebSiteRequest) throws OSSException, ClientException
OSS
Bucket
设置成静态网站托管模式。setBucketWebsite
在接口中 OSS
OSSException
ClientException
public BucketWebsiteResult getBucketWebsite(String bucketName) throws OSSException, ClientException
OSS
Bucket
的静态网站托管状态。getBucketWebsite
在接口中 OSS
OSSException
ClientException
public BucketWebsiteResult getBucketWebsite(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
的静态网站托管状态。getBucketWebsite
在接口中 OSS
genericRequest
- 请求信息。OSSException
ClientException
public void deleteBucketWebsite(String bucketName) throws OSSException, ClientException
OSS
Bucket
的静态网站托管模式。deleteBucketWebsite
在接口中 OSS
OSSException
ClientException
public void deleteBucketWebsite(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
的静态网站托管模式。deleteBucketWebsite
在接口中 OSS
genericRequest
- 请求信息。OSSException
ClientException
public String generatePostPolicy(Date expiration, PolicyConditions conds)
OSS
generatePostPolicy
在接口中 OSS
expiration
- policy过期时间。conds
- policy条件列表。public String calculatePostSignature(String postPolicy) throws ClientException
OSS
calculatePostSignature
在接口中 OSS
postPolicy
- 由OSS.generatePostPolicy(Date, PolicyConditions)
生成的policy字符串。ClientException
public void setBucketLifecycle(SetBucketLifecycleRequest setBucketLifecycleRequest) throws OSSException, ClientException
OSS
Bucket
的Lifecycle规则。setBucketLifecycle
在接口中 OSS
setBucketLifecycleRequest
- 请求参数。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public List<LifecycleRule> getBucketLifecycle(String bucketName) throws OSSException, ClientException
OSS
Bucket
的Lifecycle规则列表。getBucketLifecycle
在接口中 OSS
bucketName
- 指定Bucket名称。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public List<LifecycleRule> getBucketLifecycle(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
的Lifecycle规则列表。getBucketLifecycle
在接口中 OSS
genericRequest
- 请求信息。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void deleteBucketLifecycle(String bucketName) throws OSSException, ClientException
OSS
Bucket
的Lifecycle规则。deleteBucketLifecycle
在接口中 OSS
bucketName
- 指定Bucket名称。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void deleteBucketLifecycle(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
的Lifecycle规则。deleteBucketLifecycle
在接口中 OSS
genericRequest
- 请求信息。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void setBucketTagging(String bucketName, Map<String,String> tags) throws OSSException, ClientException
OSS
Bucket
的标签。setBucketTagging
在接口中 OSS
bucketName
- Bucket名称。tags
- 标签集。OSSException
ClientException
public void setBucketTagging(String bucketName, TagSet tagSet) throws OSSException, ClientException
OSS
Bucket
的标签。setBucketTagging
在接口中 OSS
bucketName
- Bucket名称。tagSet
- 标签集。OSSException
ClientException
public void setBucketTagging(SetBucketTaggingRequest setBucketTaggingRequest) throws OSSException, ClientException
OSS
Bucket
的标签。setBucketTagging
在接口中 OSS
setBucketTaggingRequest
- 请求信息。OSSException
ClientException
public TagSet getBucketTagging(String bucketName) throws OSSException, ClientException
OSS
Bucket
的标签。getBucketTagging
在接口中 OSS
bucketName
- Bucket名称。OSSException
ClientException
public TagSet getBucketTagging(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
的标签。getBucketTagging
在接口中 OSS
genericRequest
- 请求信息。OSSException
ClientException
public void deleteBucketTagging(String bucketName) throws OSSException, ClientException
OSS
Bucket
的标签。deleteBucketTagging
在接口中 OSS
bucketName
- Bucket名称。OSSException
ClientException
public void deleteBucketTagging(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
的标签。deleteBucketTagging
在接口中 OSS
genericRequest
- 请求信息。OSSException
ClientException
public void addBucketReplication(AddBucketReplicationRequest addBucketReplicationRequest) throws OSSException, ClientException
OSS
Bucket
的跨区域复制规则。addBucketReplication
在接口中 OSS
addBucketReplicationRequest
- 请求参数。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public List<ReplicationRule> getBucketReplication(String bucketName) throws OSSException, ClientException
OSS
Bucket
已设置的跨区域复制规则。getBucketReplication
在接口中 OSS
bucketName
- 指定Bucket名称。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public List<ReplicationRule> getBucketReplication(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
已设置的跨区域复制规则。getBucketReplication
在接口中 OSS
genericRequest
- 请求信息。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void deleteBucketReplication(String bucketName, String replicationRuleID) throws OSSException, ClientException
OSS
Bucket
的跨区域复制并删除复制配置。deleteBucketReplication
在接口中 OSS
bucketName
- 指定Bucket名称。replicationRuleID
- 复制规则对应的ID。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void deleteBucketReplication(DeleteBucketReplicationRequest deleteBucketReplicationRequest) throws OSSException, ClientException
OSS
Bucket
的跨区域复制并删除复制配置。deleteBucketReplication
在接口中 OSS
deleteBucketReplicationRequest
- 请求信息。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public BucketReplicationProgress getBucketReplicationProgress(String bucketName, String replicationRuleID) throws OSSException, ClientException
OSS
Bucket
的跨区域复制进度。getBucketReplicationProgress
在接口中 OSS
bucketName
- 指定Bucket名称。replicationRuleID
- 复制规则对应的ID。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public BucketReplicationProgress getBucketReplicationProgress(GetBucketReplicationProgressRequest getBucketReplicationProgressRequest) throws OSSException, ClientException
OSS
Bucket
的跨区域复制进度。getBucketReplicationProgress
在接口中 OSS
OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public List<String> getBucketReplicationLocation(String bucketName) throws OSSException, ClientException
OSS
Bucket
所在的数据中心配对的可复制到的数据中心。getBucketReplicationLocation
在接口中 OSS
bucketName
- 指定Bucket名称。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public List<String> getBucketReplicationLocation(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
的所在的数据中心配对的可复制到的数据中心。getBucketReplicationLocation
在接口中 OSS
genericRequest
- 请求信息。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void addBucketCname(AddBucketCnameRequest addBucketCnameRequest) throws OSSException, ClientException
OSS
Bucket
的cname。addBucketCname
在接口中 OSS
OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public List<CnameConfiguration> getBucketCname(String bucketName) throws OSSException, ClientException
OSS
Bucket
已设置的cname。getBucketCname
在接口中 OSS
bucketName
- 指定Bucket名称。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public List<CnameConfiguration> getBucketCname(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
已设置的cname。getBucketCname
在接口中 OSS
genericRequest
- 请求信息。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void deleteBucketCname(String bucketName, String domain) throws OSSException, ClientException
OSS
Bucket
的指定的cname。deleteBucketCname
在接口中 OSS
bucketName
- 指定Bucket名称。domain
- cname。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void deleteBucketCname(DeleteBucketCnameRequest deleteBucketCnameRequest) throws OSSException, ClientException
OSS
Bucket
的指定的cname。deleteBucketCname
在接口中 OSS
deleteBucketCnameRequest
- 删除cname请求。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public BucketInfo getBucketInfo(String bucketName) throws OSSException, ClientException
OSS
Bucket
的信息。getBucketInfo
在接口中 OSS
bucketName
- 指定Bucket名称。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public BucketInfo getBucketInfo(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
的信息。getBucketInfo
在接口中 OSS
genericRequest
- 请求信息。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public BucketStat getBucketStat(String bucketName) throws OSSException, ClientException
OSS
Bucket
的存储信息。getBucketStat
在接口中 OSS
bucketName
- 指定Bucket名称。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public BucketStat getBucketStat(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
的存储信息。getBucketStat
在接口中 OSS
genericRequest
- 请求信息。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void setBucketStorageCapacity(String bucketName, UserQos userQos) throws OSSException, ClientException
OSS
Bucket
的容量。setBucketStorageCapacity
在接口中 OSS
bucketName
- 指定Bucket名称。userQos
- 包括的容量的Bucket Qos。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void setBucketStorageCapacity(SetBucketStorageCapacityRequest setBucketStorageCapacityRequest) throws OSSException, ClientException
OSS
Bucket
的容量。setBucketStorageCapacity
在接口中 OSS
setBucketStorageCapacityRequest
- 请求信息。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public UserQos getBucketStorageCapacity(String bucketName) throws OSSException, ClientException
OSS
Bucket
的容量。getBucketStorageCapacity
在接口中 OSS
bucketName
- 指定Bucket名称。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public UserQos getBucketStorageCapacity(GenericRequest genericRequest) throws OSSException, ClientException
OSS
Bucket
的容量。getBucketStorageCapacity
在接口中 OSS
genericRequest
- 请求信息。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public UploadFileResult uploadFile(UploadFileRequest uploadFileRequest) throws Throwable
OSS
uploadFile
在接口中 OSS
Throwable
public DownloadFileResult downloadFile(DownloadFileRequest downloadFileRequest) throws Throwable
OSS
downloadFile
在接口中 OSS
Throwable
public CreateLiveChannelResult createLiveChannel(CreateLiveChannelRequest createLiveChannelRequest) throws OSSException, ClientException
OSS
createLiveChannel
在接口中 OSS
createLiveChannelRequest
- 请求参数。CreateLiveChannelResult
实例。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void setLiveChannelStatus(String bucketName, String liveChannel, LiveChannelStatus status) throws OSSException, ClientException
OSS
setLiveChannelStatus
在接口中 OSS
bucketName
- Bucket名称。liveChannel
- Live Channel名称。status
- Live Channel状态,可选值包括enabled、disabled。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void setLiveChannelStatus(SetLiveChannelRequest setLiveChannelRequest) throws OSSException, ClientException
OSS
setLiveChannelStatus
在接口中 OSS
setLiveChannelRequest
- 请求参数。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public LiveChannelInfo getLiveChannelInfo(String bucketName, String liveChannel) throws OSSException, ClientException
OSS
getLiveChannelInfo
在接口中 OSS
bucketName
- Bucket名称。liveChannel
- Live Channel名称。LiveChannelInfo
实例。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public LiveChannelInfo getLiveChannelInfo(LiveChannelGenericRequest liveChannelGenericRequest) throws OSSException, ClientException
OSS
getLiveChannelInfo
在接口中 OSS
liveChannelGenericRequest
- 请求参数。LiveChannelInfo
实例。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public LiveChannelStat getLiveChannelStat(String bucketName, String liveChannel) throws OSSException, ClientException
OSS
getLiveChannelStat
在接口中 OSS
bucketName
- Bucket名称。liveChannel
- Live Channel名称。LiveChannelStat
实例。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public LiveChannelStat getLiveChannelStat(LiveChannelGenericRequest liveChannelGenericRequest) throws OSSException, ClientException
OSS
getLiveChannelStat
在接口中 OSS
liveChannelGenericRequest
- 请求参数。LiveChannelStat
实例。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void deleteLiveChannel(String bucketName, String liveChannel) throws OSSException, ClientException
OSS
deleteLiveChannel
在接口中 OSS
bucketName
- Bucket名称。liveChannel
- Live Channel名称。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void deleteLiveChannel(LiveChannelGenericRequest liveChannelGenericRequest) throws OSSException, ClientException
OSS
deleteLiveChannel
在接口中 OSS
liveChannelGenericRequest
- 请求参数。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public List<LiveChannel> listLiveChannels(String bucketName) throws OSSException, ClientException
OSS
LiveChannel
的列表。listLiveChannels
在接口中 OSS
bucketName
- Bucket名称。LiveChannel
的列表。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public LiveChannelListing listLiveChannels(ListLiveChannelsRequest listLiveChannelRequest) throws OSSException, ClientException
OSS
LiveChannel
列表。listLiveChannels
在接口中 OSS
listLiveChannelRequest
- 请求参数。LiveChannel
列表。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public List<LiveRecord> getLiveChannelHistory(String bucketName, String liveChannel) throws OSSException, ClientException
OSS
getLiveChannelHistory
在接口中 OSS
bucketName
- Bucket名称。liveChannel
- Live Channel名称。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public List<LiveRecord> getLiveChannelHistory(LiveChannelGenericRequest liveChannelGenericRequest) throws OSSException, ClientException
OSS
getLiveChannelHistory
在接口中 OSS
liveChannelGenericRequest
- 请求参数。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void generateVodPlaylist(String bucketName, String liveChannelName, String PlaylistName, long startTime, long endTime) throws OSSException, ClientException
OSS
generateVodPlaylist
在接口中 OSS
bucketName
- Bucket名称。PlaylistName
- 生成的点播用m3u8文件的basename,例如playlist.m3u8。startTime
- 播放列表的开始时间,格式采用epoch time,例如1459922563。endTime
- 播放列表的结束时间,格式采用epoch time,例如1459922563。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void generateVodPlaylist(GenerateVodPlaylistRequest generateVodPlaylistRequest) throws OSSException, ClientException
OSS
generateVodPlaylist
在接口中 OSS
generateVodPlaylistRequest
- 请求参数。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public String generateRtmpUri(String bucketName, String liveChannelName, String PlaylistName, long expires) throws OSSException, ClientException
OSS
generateRtmpUri
在接口中 OSS
bucketName
- Bucket名称。PlaylistName
- 生成的点播用m3u8文件的basename,例如playlist.m3u8。expires
- 期望的过期时间,格式采用epoch time,例如1459922563。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public String generateRtmpUri(GenerateRtmpUriRequest generateRtmpUriRequest) throws OSSException, ClientException
OSS
generateRtmpUri
在接口中 OSS
generateRtmpUriRequest
- 请求参数。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void createSymlink(String bucketName, String symLink, String targetObject) throws OSSException, ClientException
OSS
createSymlink
在接口中 OSS
bucketName
- Bucket名称。symLink
- 符号链接。targetObject
- 目标文件。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void createSymlink(CreateSymlinkRequest createSymlinkRequest) throws OSSException, ClientException
OSS
createSymlink
在接口中 OSS
createSymlinkRequest
- 创建符号链接请求。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public OSSSymlink getSymlink(String bucketName, String symLink) throws OSSException, ClientException
OSS
getSymlink
在接口中 OSS
bucketName
- Bucket名称。symLink
- 符号链接。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public OSSSymlink getSymlink(GenericRequest genericRequest) throws OSSException, ClientException
OSS
getSymlink
在接口中 OSS
genericRequest
- 请求,包括bucketName、symLink。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public GenericResult processObject(ProcessObjectRequest processObjectRequest) throws OSSException, ClientException
OSS
处理结果GenericResult
实例,使用完之后需要手动关闭释放请求连接,
请调用getResponse().getContent().close()关闭。
processObject
在接口中 OSS
processObjectRequest
- 请求,包括指定的处理方式process。GenericResult
实例。使用完之后需要手动关闭释放请求连接。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public void createUdf(CreateUdfRequest createUdfRequest) throws OSSException, ClientException
OSS
createUdf
在接口中 OSS
createUdfRequest
- 请求。OSSException
- OSS Server异常信息。ClientException
- OSS Client异常信息。public UdfInfo getUdfInfo(UdfGenericRequest genericRequest) throws OSSException, ClientException
getUdfInfo
在接口中 OSS
OSSException
ClientException
public List<UdfInfo> listUdfs() throws OSSException, ClientException
listUdfs
在接口中 OSS
OSSException
ClientException
public void deleteUdf(UdfGenericRequest genericRequest) throws OSSException, ClientException
deleteUdf
在接口中 OSS
OSSException
ClientException
public void uploadUdfImage(UploadUdfImageRequest uploadUdfImageRequest) throws OSSException, ClientException
uploadUdfImage
在接口中 OSS
OSSException
ClientException
public List<UdfImageInfo> getUdfImageInfo(UdfGenericRequest genericRequest) throws OSSException, ClientException
getUdfImageInfo
在接口中 OSS
OSSException
ClientException
public void deleteUdfImage(UdfGenericRequest genericRequest) throws OSSException, ClientException
deleteUdfImage
在接口中 OSS
OSSException
ClientException
public void createUdfApplication(CreateUdfApplicationRequest createUdfApplicationRequest) throws OSSException, ClientException
createUdfApplication
在接口中 OSS
OSSException
ClientException
public UdfApplicationInfo getUdfApplicationInfo(UdfGenericRequest genericRequest) throws OSSException, ClientException
getUdfApplicationInfo
在接口中 OSS
OSSException
ClientException
public List<UdfApplicationInfo> listUdfApplications() throws OSSException, ClientException
listUdfApplications
在接口中 OSS
OSSException
ClientException
public void deleteUdfApplication(UdfGenericRequest genericRequest) throws OSSException, ClientException
deleteUdfApplication
在接口中 OSS
OSSException
ClientException
public void upgradeUdfApplication(UpgradeUdfApplicationRequest upgradeUdfApplicationRequest) throws OSSException, ClientException
upgradeUdfApplication
在接口中 OSS
OSSException
ClientException
public void resizeUdfApplication(ResizeUdfApplicationRequest resizeUdfApplicationRequest) throws OSSException, ClientException
resizeUdfApplication
在接口中 OSS
OSSException
ClientException
public UdfApplicationLog getUdfApplicationLog(GetUdfApplicationLogRequest getUdfApplicationLogRequest) throws OSSException, ClientException
getUdfApplicationLog
在接口中 OSS
OSSException
ClientException
Copyright © 2017. All Rights Reserved.