public class EndpointResp extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EndpointResp.ServiceTypeEnum
终端节点连接的终端节点服务类 型。 ● gataway:由运维人员配置。 用户无需创建,可直接使用。 ● interface:包括运维人员配置 的云服务和用户自己创建的私 有服务。其中,运维人员配置 的云服务无需创建,用户可直 接使用。 您可以通过查询公共终端节点服 务列表查看由运维人员配置的所 有用户可见且可连接的终端节点 服务,并通过创建终端节点服务 创建Interface类型的终端节点服 务。
|
static class |
EndpointResp.StatusEnum
终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败
|
| Constructor and Description |
|---|
EndpointResp() |
| Modifier and Type | Method and Description |
|---|---|
EndpointResp |
addActiveStatusItem(String activeStatusItem) |
EndpointResp |
addDnsNamesItem(String dnsNamesItem) |
EndpointResp |
addErrorItem(QueryError errorItem) |
EndpointResp |
addRoutetablesItem(String routetablesItem) |
EndpointResp |
addTagsItem(TagList tagsItem) |
EndpointResp |
addWhitelistItem(String whitelistItem) |
boolean |
equals(Object o) |
List<String> |
getActiveStatus()
帐号状态。 ● frozen:冻结 ● active:解冻
|
String |
getCreatedAt()
终端节点的创建时间。 采用UTC时间格式,格式为: YYYY-MM-DDTHH:MM:SSZ
|
List<String> |
getDnsNames()
访问所连接的终端节点服务的域 名。 当“enable_dns”为true时,该 参数可见。
|
Boolean |
getEnableDns()
是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服 务的终端节点时,“enable_dns”设 置为true或者false,均不创建域名。
|
Boolean |
getEnableWhitelist()
是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点 服务的终端节点时,显示此参 数。
|
String |
getEndpointServiceId()
终端节点服务的ID。
|
String |
getEndpointServiceName()
终端节点服务的名称。
|
List<QueryError> |
getError()
错误信息。 当终端节点状态异常,即“status”的值为“failed”时,会返回该字段。
|
String |
getId()
终端节点的ID,唯一标识。
|
String |
getIp()
访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: 当查询连接interface类型终端节点服务的终端节点时。 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。
|
Integer |
getMarkerId()
终端节点的报文标识。
|
String |
getProjectId()
项目ID,获取方法请参见获取项 目ID。
|
List<String> |
getRoutetables()
路由表ID列表。 若未指定,返回默认VPC下路由表 ID。 创建连接Gateway类型终端节点 服务的终端节点时,显示此参 数。
|
EndpointResp.ServiceTypeEnum |
getServiceType()
终端节点连接的终端节点服务类 型。 ● gataway:由运维人员配置。 用户无需创建,可直接使用。 ● interface:包括运维人员配置 的云服务和用户自己创建的私 有服务。其中,运维人员配置 的云服务无需创建,用户可直 接使用。 您可以通过查询公共终端节点服 务列表查看由运维人员配置的所 有用户可见且可连接的终端节点 服务,并通过创建终端节点服务 创建Interface类型的终端节点服 务。
|
EndpointResp.StatusEnum |
getStatus()
终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败
|
String |
getSubnetId()
vpc_id对应VPC下已创建的网络 (network)的ID,UUID格式。
|
List<TagList> |
getTags()
标签列表,没有标签默认为空数组。
|
String |
getUpdatedAt()
终端节点的更新时间。 采用UTC时间格式,格式为: YYYY-MM-DDTHH:MM:SSZ
|
String |
getVpcId()
终端节点所在的VPC的ID。
|
List<String> |
getWhitelist()
控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点 服务的终端节点时,显示此参 数。
|
int |
hashCode() |
void |
setActiveStatus(List<String> activeStatus) |
void |
setCreatedAt(String createdAt) |
void |
setDnsNames(List<String> dnsNames) |
void |
setEnableDns(Boolean enableDns) |
void |
setEnableWhitelist(Boolean enableWhitelist) |
void |
setEndpointServiceId(String endpointServiceId) |
void |
setEndpointServiceName(String endpointServiceName) |
void |
setError(List<QueryError> error) |
void |
setId(String id) |
void |
setIp(String ip) |
void |
setMarkerId(Integer markerId) |
void |
setProjectId(String projectId) |
void |
setRoutetables(List<String> routetables) |
void |
setServiceType(EndpointResp.ServiceTypeEnum serviceType) |
void |
setStatus(EndpointResp.StatusEnum status) |
void |
setSubnetId(String subnetId) |
void |
setTags(List<TagList> tags) |
void |
setUpdatedAt(String updatedAt) |
void |
setVpcId(String vpcId) |
void |
setWhitelist(List<String> whitelist) |
String |
toString() |
EndpointResp |
withActiveStatus(java.util.function.Consumer<List<String>> activeStatusSetter) |
EndpointResp |
withActiveStatus(List<String> activeStatus) |
EndpointResp |
withCreatedAt(String createdAt) |
EndpointResp |
withDnsNames(java.util.function.Consumer<List<String>> dnsNamesSetter) |
EndpointResp |
withDnsNames(List<String> dnsNames) |
EndpointResp |
withEnableDns(Boolean enableDns) |
EndpointResp |
withEnableWhitelist(Boolean enableWhitelist) |
EndpointResp |
withEndpointServiceId(String endpointServiceId) |
EndpointResp |
withEndpointServiceName(String endpointServiceName) |
EndpointResp |
withError(java.util.function.Consumer<List<QueryError>> errorSetter) |
EndpointResp |
withError(List<QueryError> error) |
EndpointResp |
withId(String id) |
EndpointResp |
withIp(String ip) |
EndpointResp |
withMarkerId(Integer markerId) |
EndpointResp |
withProjectId(String projectId) |
EndpointResp |
withRoutetables(java.util.function.Consumer<List<String>> routetablesSetter) |
EndpointResp |
withRoutetables(List<String> routetables) |
EndpointResp |
withServiceType(EndpointResp.ServiceTypeEnum serviceType) |
EndpointResp |
withStatus(EndpointResp.StatusEnum status) |
EndpointResp |
withSubnetId(String subnetId) |
EndpointResp |
withTags(java.util.function.Consumer<List<TagList>> tagsSetter) |
EndpointResp |
withTags(List<TagList> tags) |
EndpointResp |
withUpdatedAt(String updatedAt) |
EndpointResp |
withVpcId(String vpcId) |
EndpointResp |
withWhitelist(java.util.function.Consumer<List<String>> whitelistSetter) |
EndpointResp |
withWhitelist(List<String> whitelist) |
public EndpointResp withId(String id)
public String getId()
public void setId(String id)
public EndpointResp withServiceType(EndpointResp.ServiceTypeEnum serviceType)
public EndpointResp.ServiceTypeEnum getServiceType()
public void setServiceType(EndpointResp.ServiceTypeEnum serviceType)
public EndpointResp withStatus(EndpointResp.StatusEnum status)
public EndpointResp.StatusEnum getStatus()
public void setStatus(EndpointResp.StatusEnum status)
public EndpointResp withActiveStatus(List<String> activeStatus)
public EndpointResp addActiveStatusItem(String activeStatusItem)
public EndpointResp withActiveStatus(java.util.function.Consumer<List<String>> activeStatusSetter)
public List<String> getActiveStatus()
public EndpointResp withEndpointServiceName(String endpointServiceName)
public String getEndpointServiceName()
public void setEndpointServiceName(String endpointServiceName)
public EndpointResp withMarkerId(Integer markerId)
public Integer getMarkerId()
public void setMarkerId(Integer markerId)
public EndpointResp withEndpointServiceId(String endpointServiceId)
public String getEndpointServiceId()
public void setEndpointServiceId(String endpointServiceId)
public EndpointResp withEnableDns(Boolean enableDns)
public Boolean getEnableDns()
public void setEnableDns(Boolean enableDns)
public EndpointResp withDnsNames(List<String> dnsNames)
public EndpointResp addDnsNamesItem(String dnsNamesItem)
public EndpointResp withDnsNames(java.util.function.Consumer<List<String>> dnsNamesSetter)
public List<String> getDnsNames()
public EndpointResp withIp(String ip)
public String getIp()
public void setIp(String ip)
public EndpointResp withVpcId(String vpcId)
public String getVpcId()
public void setVpcId(String vpcId)
public EndpointResp withSubnetId(String subnetId)
public String getSubnetId()
public void setSubnetId(String subnetId)
public EndpointResp withCreatedAt(String createdAt)
public String getCreatedAt()
public void setCreatedAt(String createdAt)
public EndpointResp withUpdatedAt(String updatedAt)
public String getUpdatedAt()
public void setUpdatedAt(String updatedAt)
public EndpointResp withProjectId(String projectId)
public String getProjectId()
public void setProjectId(String projectId)
public EndpointResp withTags(List<TagList> tags)
public EndpointResp addTagsItem(TagList tagsItem)
public EndpointResp withTags(java.util.function.Consumer<List<TagList>> tagsSetter)
public EndpointResp withError(List<QueryError> error)
public EndpointResp addErrorItem(QueryError errorItem)
public EndpointResp withError(java.util.function.Consumer<List<QueryError>> errorSetter)
public List<QueryError> getError()
public void setError(List<QueryError> error)
public EndpointResp withWhitelist(List<String> whitelist)
public EndpointResp addWhitelistItem(String whitelistItem)
public EndpointResp withWhitelist(java.util.function.Consumer<List<String>> whitelistSetter)
public List<String> getWhitelist()
public EndpointResp withEnableWhitelist(Boolean enableWhitelist)
public Boolean getEnableWhitelist()
public void setEnableWhitelist(Boolean enableWhitelist)
public EndpointResp withRoutetables(List<String> routetables)
public EndpointResp addRoutetablesItem(String routetablesItem)
public EndpointResp withRoutetables(java.util.function.Consumer<List<String>> routetablesSetter)
public List<String> getRoutetables()
Copyright © 2022. All rights reserved.