## 类的使用
com.obs.services.model.WebsiteConfiguration

- 使用WebsiteConfiguration的程序包
  程序包 | 说明
  --- | ---
  com.obs.services |
  com.obs.services.model |

- - ### com.obs.services中WebsiteConfiguration的使用

    返回WebsiteConfiguration的com.obs.services中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `WebsiteConfiguration` | ObsClient.`getBucketWebsite(BaseBucketRequest request)`
    `WebsiteConfiguration` | IObsClient.`getBucketWebsite(BaseBucketRequest request)` Obtain the website hosting settings of a Bucket
    `WebsiteConfiguration` | ObsClient.`getBucketWebsite(String bucketName)`
    `WebsiteConfiguration` | IObsClient.`getBucketWebsite(String bucketName)` Obtain the website hosting configuration of a Bucket
    `WebsiteConfiguration` | SecretFlexibleObsClient.`getBucketWebsite(String bucketName, String accessKey, String secretKey)`
    `WebsiteConfiguration` | SecretFlexibleObsClient.`getBucketWebsite(String bucketName, String accessKey, String secretKey, String securityToken)`
    `WebsiteConfiguration` | ObsClient.`getBucketWebsiteConfiguration(String bucketName)` 已过时。
    `WebsiteConfiguration` | SecretFlexibleObsClient.`getBucketWebsiteConfiguration(String bucketName, String accessKey, String secretKey)` 已过时。
    `WebsiteConfiguration` | SecretFlexibleObsClient.`getBucketWebsiteConfiguration(String bucketName, String accessKey, String secretKey, String securityToken)` 已过时。

    参数类型为WebsiteConfiguration的com.obs.services中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `HeaderResponse` | ObsClient.`setBucketWebsite(String bucketName, WebsiteConfiguration websiteConfig)`
    `HeaderResponse` | IObsClient.`setBucketWebsite(String bucketName, WebsiteConfiguration websiteConfig)` Configure website hosting for a bucket.
    `HeaderResponse` | SecretFlexibleObsClient.`setBucketWebsite(String bucketName, WebsiteConfiguration websiteConfig, String accessKey, String secretKey)`
    `HeaderResponse` | SecretFlexibleObsClient.`setBucketWebsite(String bucketName, WebsiteConfiguration websiteConfig, String accessKey, String secretKey, String securityToken)`
    `HeaderResponse` | ObsClient.`setBucketWebsiteConfiguration(String bucketName, WebsiteConfiguration websiteConfig)` 已过时。
    `HeaderResponse` | SecretFlexibleObsClient.`setBucketWebsiteConfiguration(String bucketName, WebsiteConfiguration websiteConfig, String accessKey, String secretKey)` 已过时。
    `HeaderResponse` | SecretFlexibleObsClient.`setBucketWebsiteConfiguration(String bucketName, WebsiteConfiguration websiteConfig, String accessKey, String secretKey, String securityToken)` 已过时。

  - ### com.obs.services.model中WebsiteConfiguration的使用

    返回WebsiteConfiguration的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `WebsiteConfiguration` | SetBucketWebsiteRequest.`getWebsiteConfig()`

    参数类型为WebsiteConfiguration的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | SetBucketWebsiteRequest.`setWebsiteConfig(WebsiteConfiguration websiteConfig)`

    参数类型为WebsiteConfiguration的com.obs.services.model中的构造器
    构造器和说明
    `SetBucketWebsiteRequest(String bucketName, WebsiteConfiguration websiteConfig)`

Copyright © 2021. All rights reserved.