public class UpdateEndpointServiceResponse extends SdkResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateEndpointServiceResponse.CidrTypeEnum
网段类型。 ● public:公网网段 ● internal:内网网段 默认值为internal。
|
static class |
UpdateEndpointServiceResponse.ServerTypeEnum
资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。
|
static class |
UpdateEndpointServiceResponse.StatusEnum
终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败
|
static class |
UpdateEndpointServiceResponse.TcpProxyEnum
用于控制是否将客户端的源IP、源端口、 marker_id等信息携带到服务端。信息携带支持 两种方式: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明 仅当后端资源为OBS时,支持TCP TOA类型信息 携带方式。 ● Proxy Protocol:表示将客户端相关信息插入 到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置 才有效。 参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议 “proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa” 和“proxy_protocol”。 默认值为“close”。
|
| Constructor and Description |
|---|
UpdateEndpointServiceResponse() |
getHttpStatusCode, setHttpStatusCodepublic UpdateEndpointServiceResponse withId(String id)
public String getId()
public void setId(String id)
public UpdateEndpointServiceResponse withPortId(String portId)
public String getPortId()
public void setPortId(String portId)
public UpdateEndpointServiceResponse withVipPortId(String vipPortId)
public String getVipPortId()
public void setVipPortId(String vipPortId)
public UpdateEndpointServiceResponse withServiceName(String serviceName)
public String getServiceName()
public void setServiceName(String serviceName)
public UpdateEndpointServiceResponse withServerType(UpdateEndpointServiceResponse.ServerTypeEnum serverType)
public UpdateEndpointServiceResponse.ServerTypeEnum getServerType()
public void setServerType(UpdateEndpointServiceResponse.ServerTypeEnum serverType)
public UpdateEndpointServiceResponse withVpcId(String vpcId)
public String getVpcId()
public void setVpcId(String vpcId)
public UpdateEndpointServiceResponse withPoolId(String poolId)
public String getPoolId()
public void setPoolId(String poolId)
public UpdateEndpointServiceResponse withApprovalEnabled(Boolean approvalEnabled)
public Boolean getApprovalEnabled()
public void setApprovalEnabled(Boolean approvalEnabled)
public UpdateEndpointServiceResponse withStatus(UpdateEndpointServiceResponse.StatusEnum status)
public UpdateEndpointServiceResponse.StatusEnum getStatus()
public void setStatus(UpdateEndpointServiceResponse.StatusEnum status)
public UpdateEndpointServiceResponse withServiceType(String serviceType)
public String getServiceType()
public void setServiceType(String serviceType)
public UpdateEndpointServiceResponse withCreatedAt(String createdAt)
public String getCreatedAt()
public void setCreatedAt(String createdAt)
public UpdateEndpointServiceResponse withUpdatedAt(String updatedAt)
public String getUpdatedAt()
public void setUpdatedAt(String updatedAt)
public UpdateEndpointServiceResponse withProjectId(String projectId)
public String getProjectId()
public void setProjectId(String projectId)
public UpdateEndpointServiceResponse withCidrType(UpdateEndpointServiceResponse.CidrTypeEnum cidrType)
public UpdateEndpointServiceResponse.CidrTypeEnum getCidrType()
public void setCidrType(UpdateEndpointServiceResponse.CidrTypeEnum cidrType)
public UpdateEndpointServiceResponse withPorts(List<PortList> ports)
public UpdateEndpointServiceResponse addPortsItem(PortList portsItem)
public UpdateEndpointServiceResponse withPorts(java.util.function.Consumer<List<PortList>> portsSetter)
public List<PortList> getPorts()
public UpdateEndpointServiceResponse withTcpProxy(UpdateEndpointServiceResponse.TcpProxyEnum tcpProxy)
public UpdateEndpointServiceResponse.TcpProxyEnum getTcpProxy()
public void setTcpProxy(UpdateEndpointServiceResponse.TcpProxyEnum tcpProxy)
public UpdateEndpointServiceResponse withTags(List<TagList> tags)
public UpdateEndpointServiceResponse addTagsItem(TagList tagsItem)
public UpdateEndpointServiceResponse withTags(java.util.function.Consumer<List<TagList>> tagsSetter)
Copyright © 2022. All rights reserved.