com.volcengine.model.acep.v20231030.ResultPortMappingRule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.model.acep.v20231030;
import com.alibaba.fastjson.JSON;
import java.util.List;
/**
* ResultPortMappingRule
*/
@lombok.Data
public final class ResultPortMappingRule {
/**
* 端口映射状态。取值如下:
*
*
*
* - `256`:打开中
*
* - `257`:打开完成
*
* - `512`:关闭中
*
* - `513`:关闭完成
*
* - `768`:销毁中
*
* - `769`:销毁完成
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Status")
private Integer status;
/**
* 端口映射策略,取值如下:
*
*
*
* - `tcp`
*
* - `udp`
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Protocol")
private String protocol;
/**
* 端口映射对应公网 IP。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "PublicIp")
private String publicIp;
/**
* 端口映射对应公网端口。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "PublicPort")
private Integer publicPort;
/**
* 端口映射源端口。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "SourcePort")
private Integer sourcePort;
/**
* 对应端口映射规则 ID。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "PortMappingRuleId")
private String portMappingRuleId;
/**
* 公共端口信息列表。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "PublicPortInfoList")
private List publicPortInfoList;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy