public class CreateEndpointServiceResponse extends SdkResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateEndpointServiceResponse.CidrTypeEnum
网段类型。 ● public:公网网段 ● internal:内网网段 默认值为internal。
|
static class |
CreateEndpointServiceResponse.ServerTypeEnum
资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。
|
static class |
CreateEndpointServiceResponse.StatusEnum
终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败
|
static class |
CreateEndpointServiceResponse.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 |
|---|
CreateEndpointServiceResponse() |
getHttpStatusCode, setHttpStatusCodepublic CreateEndpointServiceResponse withId(String id)
public String getId()
public void setId(String id)
public CreateEndpointServiceResponse withPortId(String portId)
public String getPortId()
public void setPortId(String portId)
public CreateEndpointServiceResponse withVipPortId(String vipPortId)
public String getVipPortId()
public void setVipPortId(String vipPortId)
public CreateEndpointServiceResponse withServiceName(String serviceName)
public String getServiceName()
public void setServiceName(String serviceName)
public CreateEndpointServiceResponse withServerType(CreateEndpointServiceResponse.ServerTypeEnum serverType)
public CreateEndpointServiceResponse.ServerTypeEnum getServerType()
public void setServerType(CreateEndpointServiceResponse.ServerTypeEnum serverType)
public CreateEndpointServiceResponse withVpcId(String vpcId)
public String getVpcId()
public void setVpcId(String vpcId)
public CreateEndpointServiceResponse withPoolId(String poolId)
public String getPoolId()
public void setPoolId(String poolId)
public CreateEndpointServiceResponse withApprovalEnabled(Boolean approvalEnabled)
public Boolean getApprovalEnabled()
public void setApprovalEnabled(Boolean approvalEnabled)
public CreateEndpointServiceResponse withStatus(CreateEndpointServiceResponse.StatusEnum status)
public CreateEndpointServiceResponse.StatusEnum getStatus()
public void setStatus(CreateEndpointServiceResponse.StatusEnum status)
public CreateEndpointServiceResponse withServiceType(String serviceType)
public String getServiceType()
public void setServiceType(String serviceType)
public CreateEndpointServiceResponse withCreatedAt(String createdAt)
public String getCreatedAt()
public void setCreatedAt(String createdAt)
public CreateEndpointServiceResponse withUpdatedAt(String updatedAt)
public String getUpdatedAt()
public void setUpdatedAt(String updatedAt)
public CreateEndpointServiceResponse withProjectId(String projectId)
public String getProjectId()
public void setProjectId(String projectId)
public CreateEndpointServiceResponse withCidrType(CreateEndpointServiceResponse.CidrTypeEnum cidrType)
public CreateEndpointServiceResponse.CidrTypeEnum getCidrType()
public void setCidrType(CreateEndpointServiceResponse.CidrTypeEnum cidrType)
public CreateEndpointServiceResponse withPorts(List<PortList> ports)
public CreateEndpointServiceResponse addPortsItem(PortList portsItem)
public CreateEndpointServiceResponse withPorts(java.util.function.Consumer<List<PortList>> portsSetter)
public List<PortList> getPorts()
public CreateEndpointServiceResponse withTcpProxy(CreateEndpointServiceResponse.TcpProxyEnum tcpProxy)
public CreateEndpointServiceResponse.TcpProxyEnum getTcpProxy()
public void setTcpProxy(CreateEndpointServiceResponse.TcpProxyEnum tcpProxy)
public CreateEndpointServiceResponse withTags(List<TagList> tags)
public CreateEndpointServiceResponse addTagsItem(TagList tagsItem)
public CreateEndpointServiceResponse withTags(java.util.function.Consumer<List<TagList>> tagsSetter)
Copyright © 2022. All rights reserved.