Class IngressRule
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tem.v20210701.models.IngressRule
-
public class IngressRule extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description IngressRule()IngressRule(IngressRule 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 StringgetHost()Get host 地址 注意:此字段可能返回 null,表示取不到有效值。IngressRuleValuegetHttp()Get ingress rule valueStringgetProtocol()Get 协议,选项为 http, https,默认为 httpvoidsetHost(String Host)Set host 地址 注意:此字段可能返回 null,表示取不到有效值。voidsetHttp(IngressRuleValue Http)Set ingress rule valuevoidsetProtocol(String Protocol)Set 协议,选项为 http, https,默认为 httpvoidtoMap(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
-
IngressRule
public IngressRule()
-
IngressRule
public IngressRule(IngressRule 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
-
getHttp
public IngressRuleValue getHttp()
Get ingress rule value- Returns:
- Http ingress rule value
-
setHttp
public void setHttp(IngressRuleValue Http)
Set ingress rule value- Parameters:
Http- ingress rule value
-
getHost
public String getHost()
Get host 地址 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Host host 地址 注意:此字段可能返回 null,表示取不到有效值。
-
setHost
public void setHost(String Host)
Set host 地址 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Host- host 地址 注意:此字段可能返回 null,表示取不到有效值。
-
getProtocol
public String getProtocol()
Get 协议,选项为 http, https,默认为 http- Returns:
- Protocol 协议,选项为 http, https,默认为 http
-
setProtocol
public void setProtocol(String Protocol)
Set 协议,选项为 http, https,默认为 http- Parameters:
Protocol- 协议,选项为 http, https,默认为 http
-
-