public class BackendApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BackendApi.ReqMethodEnum
请求方式
|
static class |
BackendApi.ReqProtocolEnum
请求协议
|
static class |
BackendApi.StatusEnum
后端状态 - 1: 有效
|
| Constructor and Description |
|---|
BackendApi() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAuthorizerId()
后端自定义认证对象的ID
|
Boolean |
getEnableClientSsl()
是否开启双向认证
|
String |
getId()
编号
|
java.time.OffsetDateTime |
getRegisterTime()
注册时间
|
String |
getRemark()
描述。 > 中文字符必须为UTF-8或者unicode编码。
|
BackendApi.ReqMethodEnum |
getReqMethod()
请求方式
|
BackendApi.ReqProtocolEnum |
getReqProtocol()
请求协议
|
String |
getReqUri()
请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ .
|
String |
getRetryCount()
ROMA Connect APIC请求后端服务的重试次数,默认为-1,范围[-1,10]
|
BackendApi.StatusEnum |
getStatus()
后端状态 - 1: 有效
|
Integer |
getTimeout()
ROMA Connect APIC请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000 单位:毫秒。
minimum: 1
|
java.time.OffsetDateTime |
getUpdateTime()
修改时间
|
String |
getUrlDomain()
后端服务的地址。 由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。 支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头
|
String |
getVersion()
web后端版本,字符长度不超过16
|
VpcInfo |
getVpcChannelInfo()
Get vpcChannelInfo
|
Integer |
getVpcChannelStatus()
是否使用VPC通道 - 1:使用VPC通道 - 2:不使用VPC通道
|
int |
hashCode() |
void |
setAuthorizerId(String authorizerId) |
void |
setEnableClientSsl(Boolean enableClientSsl) |
void |
setId(String id) |
void |
setRegisterTime(java.time.OffsetDateTime registerTime) |
void |
setRemark(String remark) |
void |
setReqMethod(BackendApi.ReqMethodEnum reqMethod) |
void |
setReqProtocol(BackendApi.ReqProtocolEnum reqProtocol) |
void |
setReqUri(String reqUri) |
void |
setRetryCount(String retryCount) |
void |
setStatus(BackendApi.StatusEnum status) |
void |
setTimeout(Integer timeout) |
void |
setUpdateTime(java.time.OffsetDateTime updateTime) |
void |
setUrlDomain(String urlDomain) |
void |
setVersion(String version) |
void |
setVpcChannelInfo(VpcInfo vpcChannelInfo) |
void |
setVpcChannelStatus(Integer vpcChannelStatus) |
String |
toString() |
BackendApi |
withAuthorizerId(String authorizerId) |
BackendApi |
withEnableClientSsl(Boolean enableClientSsl) |
BackendApi |
withId(String id) |
BackendApi |
withRegisterTime(java.time.OffsetDateTime registerTime) |
BackendApi |
withRemark(String remark) |
BackendApi |
withReqMethod(BackendApi.ReqMethodEnum reqMethod) |
BackendApi |
withReqProtocol(BackendApi.ReqProtocolEnum reqProtocol) |
BackendApi |
withReqUri(String reqUri) |
BackendApi |
withRetryCount(String retryCount) |
BackendApi |
withStatus(BackendApi.StatusEnum status) |
BackendApi |
withTimeout(Integer timeout) |
BackendApi |
withUpdateTime(java.time.OffsetDateTime updateTime) |
BackendApi |
withUrlDomain(String urlDomain) |
BackendApi |
withVersion(String version) |
BackendApi |
withVpcChannelInfo(java.util.function.Consumer<VpcInfo> vpcChannelInfoSetter) |
BackendApi |
withVpcChannelInfo(VpcInfo vpcChannelInfo) |
BackendApi |
withVpcChannelStatus(Integer vpcChannelStatus) |
public BackendApi withAuthorizerId(String authorizerId)
public String getAuthorizerId()
public void setAuthorizerId(String authorizerId)
public BackendApi withUrlDomain(String urlDomain)
public String getUrlDomain()
public void setUrlDomain(String urlDomain)
public BackendApi withReqProtocol(BackendApi.ReqProtocolEnum reqProtocol)
public BackendApi.ReqProtocolEnum getReqProtocol()
public void setReqProtocol(BackendApi.ReqProtocolEnum reqProtocol)
public BackendApi withRemark(String remark)
public String getRemark()
public void setRemark(String remark)
public BackendApi withReqMethod(BackendApi.ReqMethodEnum reqMethod)
public BackendApi.ReqMethodEnum getReqMethod()
public void setReqMethod(BackendApi.ReqMethodEnum reqMethod)
public BackendApi withVersion(String version)
public String getVersion()
public void setVersion(String version)
public BackendApi withReqUri(String reqUri)
public String getReqUri()
public void setReqUri(String reqUri)
public BackendApi withTimeout(Integer timeout)
public Integer getTimeout()
public void setTimeout(Integer timeout)
public BackendApi withEnableClientSsl(Boolean enableClientSsl)
public Boolean getEnableClientSsl()
public void setEnableClientSsl(Boolean enableClientSsl)
public BackendApi withRetryCount(String retryCount)
public String getRetryCount()
public void setRetryCount(String retryCount)
public BackendApi withId(String id)
public String getId()
public void setId(String id)
public BackendApi withStatus(BackendApi.StatusEnum status)
public BackendApi.StatusEnum getStatus()
public void setStatus(BackendApi.StatusEnum status)
public BackendApi withRegisterTime(java.time.OffsetDateTime registerTime)
public java.time.OffsetDateTime getRegisterTime()
public void setRegisterTime(java.time.OffsetDateTime registerTime)
public BackendApi withUpdateTime(java.time.OffsetDateTime updateTime)
public java.time.OffsetDateTime getUpdateTime()
public void setUpdateTime(java.time.OffsetDateTime updateTime)
public BackendApi withVpcChannelInfo(VpcInfo vpcChannelInfo)
public BackendApi withVpcChannelInfo(java.util.function.Consumer<VpcInfo> vpcChannelInfoSetter)
public VpcInfo getVpcChannelInfo()
public void setVpcChannelInfo(VpcInfo vpcChannelInfo)
public BackendApi withVpcChannelStatus(Integer vpcChannelStatus)
public Integer getVpcChannelStatus()
public void setVpcChannelStatus(Integer vpcChannelStatus)
Copyright © 2022. All rights reserved.