| Package | Description |
|---|---|
| com.baidubce.services.bos | |
| com.baidubce.services.bos.model |
| Modifier and Type | Method and Description |
|---|---|
URL |
BosClient.generatePresignedUrl(GeneratePresignedUrlRequest request)
Returns a pre-signed URL for accessing a Bos resource.
|
| Modifier and Type | Method and Description |
|---|---|
GeneratePresignedUrlRequest |
GeneratePresignedUrlRequest.withBucketName(String bucketName)
Sets the name of the bucket involved in this request, and returns this
request object to enable additional method calls to be chained together.
|
GeneratePresignedUrlRequest |
GeneratePresignedUrlRequest.withContentMd5(String contentMd5)
Sets the expected content-md5 header of the request and returns this
object, for method chaining.
|
GeneratePresignedUrlRequest |
GeneratePresignedUrlRequest.withContentType(String contentType)
Sets the expected content-type of the request and returns
this object, for method chaining.
|
GeneratePresignedUrlRequest |
GeneratePresignedUrlRequest.withExpiration(int expirationInSeconds)
Sets the expiration after which point the new pre-signed URL will no
longer be accepted by BOS, and returns this request object to
enable additional method calls to be chained together.
|
GeneratePresignedUrlRequest |
GeneratePresignedUrlRequest.withKey(String key)
Sets the key of the object involved in this request, and returns this
request object to enable additional method calls to be chained together.
|
GeneratePresignedUrlRequest |
GeneratePresignedUrlRequest.withMethod(HttpMethodName method)
Sets the HTTP method (GET, PUT, DELETE, HEAD) to be used in this request,
and returns this request object to enable additional method calls to be
chained together.
|
GeneratePresignedUrlRequest |
GeneratePresignedUrlRequest.withRequestCredentials(BceCredentials credentials) |
GeneratePresignedUrlRequest |
GeneratePresignedUrlRequest.withResponseHeaders(ResponseHeaderOverrides responseHeaders)
Sets the headers to be overridden in the service response and returns
this object, for method chaining.
|
Copyright © 2023. All rights reserved.