Class HttpProbe
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iecp.v20210914.models.HttpProbe
-
public class HttpProbe extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpHeader[]getHeaders()Get HTTP的请求头 注意:此字段可能返回 null,表示取不到有效值。StringgetHost()Get 请求地址,默认Pod的IP 注意:此字段可能返回 null,表示取不到有效值。StringgetPath()Get 请求路径 注意:此字段可能返回 null,表示取不到有效值。LonggetPort()Get 请求端口 注意:此字段可能返回 null,表示取不到有效值。StringgetScheme()Get 请求模式 HTTP|HTTPS,默认HTTP 注意:此字段可能返回 null,表示取不到有效值。voidsetHeaders(HttpHeader[] Headers)Set HTTP的请求头 注意:此字段可能返回 null,表示取不到有效值。voidsetHost(String Host)Set 请求地址,默认Pod的IP 注意:此字段可能返回 null,表示取不到有效值。voidsetPath(String Path)Set 请求路径 注意:此字段可能返回 null,表示取不到有效值。voidsetPort(Long Port)Set 请求端口 注意:此字段可能返回 null,表示取不到有效值。voidsetScheme(String Scheme)Set 请求模式 HTTP|HTTPS,默认HTTP 注意:此字段可能返回 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
-
HttpProbe
public HttpProbe()
-
HttpProbe
public HttpProbe(HttpProbe 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
-
getPath
public String getPath()
Get 请求路径 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Path 请求路径 注意:此字段可能返回 null,表示取不到有效值。
-
setPath
public void setPath(String Path)
Set 请求路径 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Path- 请求路径 注意:此字段可能返回 null,表示取不到有效值。
-
getPort
public Long getPort()
Get 请求端口 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Port 请求端口 注意:此字段可能返回 null,表示取不到有效值。
-
setPort
public void setPort(Long Port)
Set 请求端口 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Port- 请求端口 注意:此字段可能返回 null,表示取不到有效值。
-
getHost
public String getHost()
Get 请求地址,默认Pod的IP 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Host 请求地址,默认Pod的IP 注意:此字段可能返回 null,表示取不到有效值。
-
setHost
public void setHost(String Host)
Set 请求地址,默认Pod的IP 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Host- 请求地址,默认Pod的IP 注意:此字段可能返回 null,表示取不到有效值。
-
getScheme
public String getScheme()
Get 请求模式 HTTP|HTTPS,默认HTTP 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Scheme 请求模式 HTTP|HTTPS,默认HTTP 注意:此字段可能返回 null,表示取不到有效值。
-
setScheme
public void setScheme(String Scheme)
Set 请求模式 HTTP|HTTPS,默认HTTP 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Scheme- 请求模式 HTTP|HTTPS,默认HTTP 注意:此字段可能返回 null,表示取不到有效值。
-
getHeaders
public HttpHeader[] getHeaders()
Get HTTP的请求头 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Headers HTTP的请求头 注意:此字段可能返回 null,表示取不到有效值。
-
setHeaders
public void setHeaders(HttpHeader[] Headers)
Set HTTP的请求头 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Headers- HTTP的请求头 注意:此字段可能返回 null,表示取不到有效值。
-
-