com.obs.services.model

## 类 WebsiteConfiguration

- java.lang.Object
- - com.obs.services.internal.InternalHeaderResponse
  - - com.obs.services.model.HeaderResponse
    - - com.obs.services.model.WebsiteConfiguration

-     public class WebsiteConfiguration
      extends HeaderResponse

  Website hosting configuration of a bucket

- - ### 字段概要

    - ### 从类继承的字段 com.obs.services.internal.InternalHeaderResponse

      `responseHeaders, statusCode`

  - ### 构造器概要

    构造器
    构造器和说明
    `WebsiteConfiguration()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getKey()` Obtain the error page of the hosting.
    `RedirectAllRequest` | `getRedirectAllRequestsTo()` Obtain the redirection rules of all requests.
    `List<RouteRule>` | `getRouteRules()` Set the redirection route rules.
    `String` | `getSuffix()` Obtain the hosting homepage.
    `void` | `setKey(String key)` Set the error page of the hosting.
    `void` | `setRedirectAllRequestsTo(RedirectAllRequest redirectAllRequestsTo)` Set redirection rules of all requests.
    `void` | `setRouteRules(List<RouteRule> routeRules)` Set the redirection route rule list.
    `void` | `setSuffix(String suffix)` Set the hosting homepage.
    `String` | `toString()`

    - ### 从类继承的方法 com.obs.services.model.HeaderResponse

      `getRequestId, getResponseHeaders, getStatusCode`

    - ### 从类继承的方法 com.obs.services.internal.InternalHeaderResponse

      `setResponseHeaders, setStatusCode`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 构造器详细资料

    - #### WebsiteConfiguration

          public WebsiteConfiguration()

  - ### 方法详细资料

    - #### getSuffix

          public String getSuffix()

      Obtain the hosting homepage.
      返回:
        Hosting homepage

    - #### setSuffix

          public void setSuffix(String suffix)

      Set the hosting homepage.
      参数:
        `suffix` - Hosting homepage

    - #### getKey

          public String getKey()

      Obtain the error page of the hosting.
      返回:
        key Error page of the hosting.

    - #### setKey

          public void setKey(String key)

      Set the error page of the hosting.
      参数:
        `key` - Error page of the hosting

    - #### getRouteRules

          public List<RouteRule> getRouteRules()

      Set the redirection route rules.
      返回:
        routeRules Redirection route rule list

    - #### setRouteRules

          public void setRouteRules(List<RouteRule> routeRules)

      Set the redirection route rule list.
      参数:
        `routeRules` - Redirection route rule list

    - #### getRedirectAllRequestsTo

          public RedirectAllRequest getRedirectAllRequestsTo()

      Obtain the redirection rules of all requests.
      返回:
        Redirection rules of all requests

    - #### setRedirectAllRequestsTo

          public void setRedirectAllRequestsTo(RedirectAllRequest redirectAllRequestsTo)

      Set redirection rules of all requests.
      参数:
        `redirectAllRequestsTo` - Redirection rules of all requests

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `HeaderResponse`

Copyright © 2021. All rights reserved.