Class SecurityGroupListData
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cfw.v20190904.models.SecurityGroupListData
-
public class SecurityGroupListData extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SecurityGroupListData()SecurityGroupListData(SecurityGroupListData source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAssetGroupNameIn()Get 资产分组名称 注意:此字段可能返回 null,表示取不到有效值。StringgetAssetGroupNameOut()Get 资产分组名称 注意:此字段可能返回 null,表示取不到有效值。LonggetBothWay()Get 单/双向下发,0:单向下发,1:双向下发SecurityGroupBothWayInfo[]getBothWayInfo()Get 生成双向下发规则 注意:此字段可能返回 null,表示取不到有效值。StringgetCidr()Get 掩码地址,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。StringgetDetail()Get 描述LonggetDirection()Get 方向,0:出站,1:入站,默认1LonggetId()Get 规则IDStringgetInstanceName()Get 实例名称 注意:此字段可能返回 null,表示取不到有效值。LonggetIsNew()Get 是否是正常规则,0:正常,1:异常LonggetOrderIndex()Get 执行顺序StringgetParameterName()Get 模板名称 注意:此字段可能返回 null,表示取不到有效值。StringgetPort()Get 目的端口StringgetPrivateIp()Get 内网IP,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。StringgetProtocol()Get 协议LonggetProtocolPortType()Get 是否使用端口协议模板,0:否,1:是StringgetPublicIp()Get 公网IP,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。StringgetRegion()Get 地域 注意:此字段可能返回 null,表示取不到有效值。StringgetServiceTemplateId()Get 端口协议类型参数模板id 注意:此字段可能返回 null,表示取不到有效值。StringgetSourceId()Get 访问源LonggetSourceType()Get 访问源类型,默认为0,1: VPC, 2: SUBNET, 3: CVM, 4: CLB, 5: ENI, 6: CDB, 7: 参数模板, 100: 资源组LonggetStatus()Get 是否开关开启,0:未开启,1:开启LonggetStrategy()Get 策略, 1:阻断,2:放行StringgetSubnetId()Get 子网ID 注意:此字段可能返回 null,表示取不到有效值。StringgetTargetId()Get 访问目的LonggetTargetType()Get 访问目的类型,默认为0,1: VPC, 2: SUBNET, 3: CVM, 4: CLB, 5: ENI, 6: CDB, 7: 参数模板, 100:资源组StringgetUuid()Get Uuid 注意:此字段可能返回 null,表示取不到有效值。StringgetVpcId()Get 私有网络ID 注意:此字段可能返回 null,表示取不到有效值。voidsetAssetGroupNameIn(String AssetGroupNameIn)Set 资产分组名称 注意:此字段可能返回 null,表示取不到有效值。voidsetAssetGroupNameOut(String AssetGroupNameOut)Set 资产分组名称 注意:此字段可能返回 null,表示取不到有效值。voidsetBothWay(Long BothWay)Set 单/双向下发,0:单向下发,1:双向下发voidsetBothWayInfo(SecurityGroupBothWayInfo[] BothWayInfo)Set 生成双向下发规则 注意:此字段可能返回 null,表示取不到有效值。voidsetCidr(String Cidr)Set 掩码地址,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。voidsetDetail(String Detail)Set 描述voidsetDirection(Long Direction)Set 方向,0:出站,1:入站,默认1voidsetId(Long Id)Set 规则IDvoidsetInstanceName(String InstanceName)Set 实例名称 注意:此字段可能返回 null,表示取不到有效值。voidsetIsNew(Long IsNew)Set 是否是正常规则,0:正常,1:异常voidsetOrderIndex(Long OrderIndex)Set 执行顺序voidsetParameterName(String ParameterName)Set 模板名称 注意:此字段可能返回 null,表示取不到有效值。voidsetPort(String Port)Set 目的端口voidsetPrivateIp(String PrivateIp)Set 内网IP,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。voidsetProtocol(String Protocol)Set 协议voidsetProtocolPortType(Long ProtocolPortType)Set 是否使用端口协议模板,0:否,1:是voidsetPublicIp(String PublicIp)Set 公网IP,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。voidsetRegion(String Region)Set 地域 注意:此字段可能返回 null,表示取不到有效值。voidsetServiceTemplateId(String ServiceTemplateId)Set 端口协议类型参数模板id 注意:此字段可能返回 null,表示取不到有效值。voidsetSourceId(String SourceId)Set 访问源voidsetSourceType(Long SourceType)Set 访问源类型,默认为0,1: VPC, 2: SUBNET, 3: CVM, 4: CLB, 5: ENI, 6: CDB, 7: 参数模板, 100: 资源组voidsetStatus(Long Status)Set 是否开关开启,0:未开启,1:开启voidsetStrategy(Long Strategy)Set 策略, 1:阻断,2:放行voidsetSubnetId(String SubnetId)Set 子网ID 注意:此字段可能返回 null,表示取不到有效值。voidsetTargetId(String TargetId)Set 访问目的voidsetTargetType(Long TargetType)Set 访问目的类型,默认为0,1: VPC, 2: SUBNET, 3: CVM, 4: CLB, 5: ENI, 6: CDB, 7: 参数模板, 100:资源组voidsetUuid(String Uuid)Set Uuid 注意:此字段可能返回 null,表示取不到有效值。voidsetVpcId(String VpcId)Set 私有网络ID 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
SecurityGroupListData
public SecurityGroupListData()
-
SecurityGroupListData
public SecurityGroupListData(SecurityGroupListData source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getOrderIndex
public Long getOrderIndex()
Get 执行顺序- Returns:
- OrderIndex 执行顺序
-
setOrderIndex
public void setOrderIndex(Long OrderIndex)
Set 执行顺序- Parameters:
OrderIndex- 执行顺序
-
getSourceId
public String getSourceId()
Get 访问源- Returns:
- SourceId 访问源
-
setSourceId
public void setSourceId(String SourceId)
Set 访问源- Parameters:
SourceId- 访问源
-
getSourceType
public Long getSourceType()
Get 访问源类型,默认为0,1: VPC, 2: SUBNET, 3: CVM, 4: CLB, 5: ENI, 6: CDB, 7: 参数模板, 100: 资源组- Returns:
- SourceType 访问源类型,默认为0,1: VPC, 2: SUBNET, 3: CVM, 4: CLB, 5: ENI, 6: CDB, 7: 参数模板, 100: 资源组
-
setSourceType
public void setSourceType(Long SourceType)
Set 访问源类型,默认为0,1: VPC, 2: SUBNET, 3: CVM, 4: CLB, 5: ENI, 6: CDB, 7: 参数模板, 100: 资源组- Parameters:
SourceType- 访问源类型,默认为0,1: VPC, 2: SUBNET, 3: CVM, 4: CLB, 5: ENI, 6: CDB, 7: 参数模板, 100: 资源组
-
getTargetId
public String getTargetId()
Get 访问目的- Returns:
- TargetId 访问目的
-
setTargetId
public void setTargetId(String TargetId)
Set 访问目的- Parameters:
TargetId- 访问目的
-
getTargetType
public Long getTargetType()
Get 访问目的类型,默认为0,1: VPC, 2: SUBNET, 3: CVM, 4: CLB, 5: ENI, 6: CDB, 7: 参数模板, 100:资源组- Returns:
- TargetType 访问目的类型,默认为0,1: VPC, 2: SUBNET, 3: CVM, 4: CLB, 5: ENI, 6: CDB, 7: 参数模板, 100:资源组
-
setTargetType
public void setTargetType(Long TargetType)
Set 访问目的类型,默认为0,1: VPC, 2: SUBNET, 3: CVM, 4: CLB, 5: ENI, 6: CDB, 7: 参数模板, 100:资源组- Parameters:
TargetType- 访问目的类型,默认为0,1: VPC, 2: SUBNET, 3: CVM, 4: CLB, 5: ENI, 6: CDB, 7: 参数模板, 100:资源组
-
getProtocol
public String getProtocol()
Get 协议- Returns:
- Protocol 协议
-
setProtocol
public void setProtocol(String Protocol)
Set 协议- Parameters:
Protocol- 协议
-
getPort
public String getPort()
Get 目的端口- Returns:
- Port 目的端口
-
setPort
public void setPort(String Port)
Set 目的端口- Parameters:
Port- 目的端口
-
getStrategy
public Long getStrategy()
Get 策略, 1:阻断,2:放行- Returns:
- Strategy 策略, 1:阻断,2:放行
-
setStrategy
public void setStrategy(Long Strategy)
Set 策略, 1:阻断,2:放行- Parameters:
Strategy- 策略, 1:阻断,2:放行
-
getDetail
public String getDetail()
Get 描述- Returns:
- Detail 描述
-
setDetail
public void setDetail(String Detail)
Set 描述- Parameters:
Detail- 描述
-
getBothWay
public Long getBothWay()
Get 单/双向下发,0:单向下发,1:双向下发- Returns:
- BothWay 单/双向下发,0:单向下发,1:双向下发
-
setBothWay
public void setBothWay(Long BothWay)
Set 单/双向下发,0:单向下发,1:双向下发- Parameters:
BothWay- 单/双向下发,0:单向下发,1:双向下发
-
getId
public Long getId()
Get 规则ID- Returns:
- Id 规则ID
-
setId
public void setId(Long Id)
Set 规则ID- Parameters:
Id- 规则ID
-
getStatus
public Long getStatus()
Get 是否开关开启,0:未开启,1:开启- Returns:
- Status 是否开关开启,0:未开启,1:开启
-
setStatus
public void setStatus(Long Status)
Set 是否开关开启,0:未开启,1:开启- Parameters:
Status- 是否开关开启,0:未开启,1:开启
-
getIsNew
public Long getIsNew()
Get 是否是正常规则,0:正常,1:异常- Returns:
- IsNew 是否是正常规则,0:正常,1:异常
-
setIsNew
public void setIsNew(Long IsNew)
Set 是否是正常规则,0:正常,1:异常- Parameters:
IsNew- 是否是正常规则,0:正常,1:异常
-
getVpcId
public String getVpcId()
Get 私有网络ID 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- VpcId 私有网络ID 注意:此字段可能返回 null,表示取不到有效值。
-
setVpcId
public void setVpcId(String VpcId)
Set 私有网络ID 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
VpcId- 私有网络ID 注意:此字段可能返回 null,表示取不到有效值。
-
getSubnetId
public String getSubnetId()
Get 子网ID 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SubnetId 子网ID 注意:此字段可能返回 null,表示取不到有效值。
-
setSubnetId
public void setSubnetId(String SubnetId)
Set 子网ID 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SubnetId- 子网ID 注意:此字段可能返回 null,表示取不到有效值。
-
getInstanceName
public String getInstanceName()
Get 实例名称 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- InstanceName 实例名称 注意:此字段可能返回 null,表示取不到有效值。
-
setInstanceName
public void setInstanceName(String InstanceName)
Set 实例名称 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
InstanceName- 实例名称 注意:此字段可能返回 null,表示取不到有效值。
-
getPublicIp
public String getPublicIp()
Get 公网IP,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- PublicIp 公网IP,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。
-
setPublicIp
public void setPublicIp(String PublicIp)
Set 公网IP,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
PublicIp- 公网IP,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。
-
getPrivateIp
public String getPrivateIp()
Get 内网IP,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- PrivateIp 内网IP,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。
-
setPrivateIp
public void setPrivateIp(String PrivateIp)
Set 内网IP,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
PrivateIp- 内网IP,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。
-
getCidr
public String getCidr()
Get 掩码地址,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Cidr 掩码地址,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。
-
setCidr
public void setCidr(String Cidr)
Set 掩码地址,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Cidr- 掩码地址,多个以英文逗号分隔 注意:此字段可能返回 null,表示取不到有效值。
-
getServiceTemplateId
public String getServiceTemplateId()
Get 端口协议类型参数模板id 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ServiceTemplateId 端口协议类型参数模板id 注意:此字段可能返回 null,表示取不到有效值。
-
setServiceTemplateId
public void setServiceTemplateId(String ServiceTemplateId)
Set 端口协议类型参数模板id 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ServiceTemplateId- 端口协议类型参数模板id 注意:此字段可能返回 null,表示取不到有效值。
-
getBothWayInfo
public SecurityGroupBothWayInfo[] getBothWayInfo()
Get 生成双向下发规则 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- BothWayInfo 生成双向下发规则 注意:此字段可能返回 null,表示取不到有效值。
-
setBothWayInfo
public void setBothWayInfo(SecurityGroupBothWayInfo[] BothWayInfo)
Set 生成双向下发规则 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
BothWayInfo- 生成双向下发规则 注意:此字段可能返回 null,表示取不到有效值。
-
getDirection
public Long getDirection()
Get 方向,0:出站,1:入站,默认1- Returns:
- Direction 方向,0:出站,1:入站,默认1
-
setDirection
public void setDirection(Long Direction)
Set 方向,0:出站,1:入站,默认1- Parameters:
Direction- 方向,0:出站,1:入站,默认1
-
getProtocolPortType
public Long getProtocolPortType()
Get 是否使用端口协议模板,0:否,1:是- Returns:
- ProtocolPortType 是否使用端口协议模板,0:否,1:是
-
setProtocolPortType
public void setProtocolPortType(Long ProtocolPortType)
Set 是否使用端口协议模板,0:否,1:是- Parameters:
ProtocolPortType- 是否使用端口协议模板,0:否,1:是
-
getUuid
public String getUuid()
Get Uuid 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Uuid Uuid 注意:此字段可能返回 null,表示取不到有效值。
-
setUuid
public void setUuid(String Uuid)
Set Uuid 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Uuid- Uuid 注意:此字段可能返回 null,表示取不到有效值。
-
getRegion
public String getRegion()
Get 地域 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Region 地域 注意:此字段可能返回 null,表示取不到有效值。
-
setRegion
public void setRegion(String Region)
Set 地域 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Region- 地域 注意:此字段可能返回 null,表示取不到有效值。
-
getAssetGroupNameIn
public String getAssetGroupNameIn()
Get 资产分组名称 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AssetGroupNameIn 资产分组名称 注意:此字段可能返回 null,表示取不到有效值。
-
setAssetGroupNameIn
public void setAssetGroupNameIn(String AssetGroupNameIn)
Set 资产分组名称 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AssetGroupNameIn- 资产分组名称 注意:此字段可能返回 null,表示取不到有效值。
-
getAssetGroupNameOut
public String getAssetGroupNameOut()
Get 资产分组名称 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AssetGroupNameOut 资产分组名称 注意:此字段可能返回 null,表示取不到有效值。
-
setAssetGroupNameOut
public void setAssetGroupNameOut(String AssetGroupNameOut)
Set 资产分组名称 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AssetGroupNameOut- 资产分组名称 注意:此字段可能返回 null,表示取不到有效值。
-
getParameterName
public String getParameterName()
Get 模板名称 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ParameterName 模板名称 注意:此字段可能返回 null,表示取不到有效值。
-
setParameterName
public void setParameterName(String ParameterName)
Set 模板名称 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ParameterName- 模板名称 注意:此字段可能返回 null,表示取不到有效值。
-
-