java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.model.Redirect

public class Redirect extends Object
Request redirection configuration
  • 字段详细资料

    • protocol

      private ProtocolEnum protocol
    • hostName

      private String hostName
    • replaceKeyPrefixWith

      private String replaceKeyPrefixWith
    • replaceKeyWith

      private String replaceKeyWith
    • httpRedirectCode

      private String httpRedirectCode
  • 构造器详细资料

    • Redirect

      public Redirect()
  • 方法详细资料

    • getProtocol

      @Deprecated public String getProtocol()
      已过时。
      Obtain the protocol used for redirecting the request.
      返回:
      Protocol used for redirecting the request
      另请参阅:
    • setProtocol

      @Deprecated public void setProtocol(String protocol)
      已过时。
      Set the protocol used for redirecting the request.
      参数:
      protocol - Protocol used for redirecting the request
      另请参阅:
    • getRedirectProtocol

      public ProtocolEnum getRedirectProtocol()
      Obtain the protocol used for redirecting the request.
      返回:
      Protocol used for redirecting the request
    • setRedirectProtocol

      public void setRedirectProtocol(ProtocolEnum protocol)
      Set the protocol used for redirecting the request.
      参数:
      protocol - Protocol used for redirecting the request
    • getHostName

      public String getHostName()
      Obtain the host name used for redirecting the request.
      返回:
      Host name used for redirecting the request
    • setHostName

      public void setHostName(String hostName)
      Set the host name used for redirecting the request.
      参数:
      hostName - Host name used for redirecting the request
    • getReplaceKeyPrefixWith

      public String getReplaceKeyPrefixWith()
      Obtain the object name prefix used for redirecting the request.
      返回:
      Object name prefix used for redirecting the request
    • setReplaceKeyPrefixWith

      public void setReplaceKeyPrefixWith(String replaceKeyPrefixWith)
      Set the object name prefix used for redirecting the request.
      参数:
      replaceKeyPrefixWith - Object name prefix used for redirecting the request
    • getReplaceKeyWith

      public String getReplaceKeyWith()
      Obtain the object name used for redirecting the request.
      返回:
      Object name used for redirecting the request
    • setReplaceKeyWith

      public void setReplaceKeyWith(String replaceKeyWith)
      Set the object name used for redirecting the request.
      参数:
      replaceKeyWith - Object name used for redirecting the request
    • getHttpRedirectCode

      public String getHttpRedirectCode()
      Obtain the configuration of the HTTP status code in the response.
      返回:
      Configuration of the HTTP status code
    • setHttpRedirectCode

      public void setHttpRedirectCode(String httpRedirectCode)
      Configure the HTTP status code in the response.
      参数:
      httpRedirectCode - Configuration of the HTTP status code
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object