Skip to content

Commit 8fbff45

Browse files
committed
Update to 3.21.8
1 parent 891e35c commit 8fbff45

File tree

62 files changed

+11704
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+11704
-0
lines changed
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
/**
2+
* Copyright 2019 Huawei Technologies Co.,Ltd.
3+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4+
* this file except in compliance with the License. You may obtain a copy of the
5+
* License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software distributed
10+
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
11+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
12+
* specific language governing permissions and limitations under the License.
13+
*/
14+
15+
16+
package com.obs.services;
17+
18+
import com.obs.services.exception.ObsException;
19+
import com.obs.services.model.BucketCustomDomainInfo;
20+
import com.obs.services.model.DeleteBucketCustomDomainRequest;
21+
import com.obs.services.model.GetBucketCustomDomainRequest;
22+
import com.obs.services.model.HeaderResponse;
23+
import com.obs.services.model.SetBucketCustomDomainRequest;
24+
25+
/**
26+
*
27+
*
28+
* @since 3.21.8
29+
*/
30+
public interface IObsBucketExtendClient {
31+
/**
32+
* Deleting the Custom Domain Name of a Bucket
33+
* @param bucketName Bucket name
34+
* @param domainName Custom Domain Name
35+
* @return
36+
* @throws ObsException
37+
* @since 3.21.8
38+
*/
39+
HeaderResponse deleteBucketCustomDomain(String bucketName, String domainName) throws ObsException;
40+
41+
/**
42+
* Deleting the Custom Domain Name of a Bucket
43+
* @param request
44+
* @return
45+
* @throws ObsException
46+
* @since 3.21.8
47+
*/
48+
HeaderResponse deleteBucketCustomDomain(DeleteBucketCustomDomainRequest request) throws ObsException;
49+
50+
/**
51+
* Obtaining the Custom Domain Name of a Bucket
52+
* @param bucketName Bucket name
53+
* @return
54+
* @throws ObsException
55+
* @since 3.21.8
56+
*/
57+
BucketCustomDomainInfo getBucketCustomDomain(String bucketName) throws ObsException;
58+
59+
/**
60+
* Obtaining the Custom Domain Name of a Bucket
61+
* @param request
62+
* @return
63+
* @throws ObsException
64+
* @since 3.21.8
65+
*/
66+
BucketCustomDomainInfo getBucketCustomDomain(GetBucketCustomDomainRequest request) throws ObsException;
67+
68+
/**
69+
* Configuring a Custom Domain Name for a Bucket
70+
* @param bucketName Bucket name
71+
* @param domainName Custom Domain Name
72+
* @return
73+
* @throws ObsException
74+
* @since 3.21.8
75+
*/
76+
HeaderResponse setBucketCustomDomain(String bucketName, String domainName) throws ObsException;
77+
78+
/**
79+
* Configuring a Custom Domain Name for a Bucket
80+
* @param request
81+
* @return
82+
* @throws ObsException
83+
* @since 3.21.8
84+
*/
85+
HeaderResponse setBucketCustomDomain(SetBucketCustomDomainRequest request) throws ObsException;
86+
}

0 commit comments

Comments
 (0)