public class CustomEndpoint extends AbstractModel
header, skipSign
Constructor and Description |
---|
CustomEndpoint() |
CustomEndpoint(CustomEndpoint 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 |
---|---|
String |
getAccessId()
Get Custom SecretId used for generating an encrypted signature.
|
String |
getAccessKey()
Get Custom SecretKey used for generating an encrypted signature.
|
String |
getCompressType()
Get Type of data compression.
|
Header[] |
getHeaders()
Get Custom request header carried in log shipping.
|
String |
getProtocol()
Get Type of the application layer protocol used in POST requests for log shipping.
|
String |
getUrl()
Get Address of the custom HTTP API for real-time log shipping.
|
void |
setAccessId(String AccessId)
Set Custom SecretId used for generating an encrypted signature.
|
void |
setAccessKey(String AccessKey)
Set Custom SecretKey used for generating an encrypted signature.
|
void |
setCompressType(String CompressType)
Set Type of data compression.
|
void |
setHeaders(Header[] Headers)
Set Custom request header carried in log shipping.
|
void |
setProtocol(String Protocol)
Set Type of the application layer protocol used in POST requests for log shipping.
|
void |
setUrl(String Url)
Set Address of the custom HTTP API for real-time log shipping.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CustomEndpoint()
public CustomEndpoint(CustomEndpoint source)
public String getUrl()
public void setUrl(String Url)
Url
- Address of the custom HTTP API for real-time log shipping. Currently, only HTTP and HTTPS protocols are supported.public String getAccessId()
public void setAccessId(String AccessId)
AccessId
- Custom SecretId used for generating an encrypted signature. This parameter is required if the origin server needs authentication.public String getAccessKey()
public void setAccessKey(String AccessKey)
AccessKey
- Custom SecretKey used for generating an encrypted signature. This parameter is required if the origin server needs authentication.public String getCompressType()
public void setCompressType(String CompressType)
CompressType
- Type of data compression. Valid values:public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- Type of the application layer protocol used in POST requests for log shipping. Valid values:
public Header[] getHeaders()
public void setHeaders(Header[] Headers)
Headers
- Custom request header carried in log shipping. For a header carried by default in EdgeOne log pushing, such as Content-Type, the header value you input will overwrite the default value. The header value references a single variable ${batchSize} to obtain the number of log entries included in each POST request.Copyright © 2024. All rights reserved.