public class RemoteWrite extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| RemoteWrite() | 
| RemoteWrite(RemoteWrite 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| BasicAuth | getBasicAuth()Get 鉴权
注意:此字段可能返回 null,表示取不到有效值。 | 
| RemoteWriteHeader[] | getHeaders()Get HTTP 额外添加的头
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getLabel()Deprecated.   | 
| String | getMaxBlockSize()Deprecated.   | 
| String | getURL()Get 多写url | 
| String | getURLRelabelConfig()Get RelabelConfig
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setBasicAuth(BasicAuth BasicAuth)Set 鉴权
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setHeaders(RemoteWriteHeader[] Headers)Set HTTP 额外添加的头
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setLabel(String Label)Deprecated.   | 
| void | setMaxBlockSize(String MaxBlockSize)Deprecated.   | 
| void | setURL(String URL)Set 多写url | 
| void | setURLRelabelConfig(String URLRelabelConfig)Set RelabelConfig
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic RemoteWrite()
public RemoteWrite(RemoteWrite source)
public String getURL()
public void setURL(String URL)
URL - 多写urlpublic String getURLRelabelConfig()
public void setURLRelabelConfig(String URLRelabelConfig)
URLRelabelConfig - RelabelConfig
注意:此字段可能返回 null,表示取不到有效值。public BasicAuth getBasicAuth()
public void setBasicAuth(BasicAuth BasicAuth)
BasicAuth - 鉴权
注意:此字段可能返回 null,表示取不到有效值。@Deprecated public String getMaxBlockSize()
@Deprecated public void setMaxBlockSize(String MaxBlockSize)
MaxBlockSize - 最大block
注意:此字段可能返回 null,表示取不到有效值。@Deprecated public String getLabel()
@Deprecated public void setLabel(String Label)
Label - Label
注意:此字段可能返回 null,表示取不到有效值。public RemoteWriteHeader[] getHeaders()
public void setHeaders(RemoteWriteHeader[] Headers)
Headers - HTTP 额外添加的头
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.