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 Specifies the custom SecretId for generating an encrypted signature.
|
String |
getAccessKey()
Get Specifies the custom SecretKey for generating an encrypted signature.
|
String |
getCompressType()
Get The type of data compression.
|
Header[] |
getHeaders()
Get The custom request header carried during log delivery.
|
String |
getProtocol()
Get The type of the application layer protocol used when POST requests log delivery.
|
String |
getUrl()
Get The address of the custom HTTP interface for real-time log delivery.
|
void |
setAccessId(String AccessId)
Set Specifies the custom SecretId for generating an encrypted signature.
|
void |
setAccessKey(String AccessKey)
Set Specifies the custom SecretKey for generating an encrypted signature.
|
void |
setCompressType(String CompressType)
Set The type of data compression.
|
void |
setHeaders(Header[] Headers)
Set The custom request header carried during log delivery.
|
void |
setProtocol(String Protocol)
Set The type of the application layer protocol used when POST requests log delivery.
|
void |
setUrl(String Url)
Set The address of the custom HTTP interface for real-time log delivery.
|
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
- The address of the custom HTTP interface for real-time log delivery. Currently, only HTTP and HTTPS protocols are supported.public String getAccessId()
public void setAccessId(String AccessId)
AccessId
- Specifies the custom SecretId for generating an encrypted signature. This parameter is required if the origin server needs authentication.public String getAccessKey()
public void setAccessKey(String AccessKey)
AccessKey
- Specifies the custom SecretKey for generating an encrypted signature. This parameter is required if the origin server needs authentication.public String getCompressType()
public void setCompressType(String CompressType)
CompressType
- The type of data compression. Valid values:public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- The type of the application layer protocol used when POST requests log delivery. Valid values:
public Header[] getHeaders()
public void setHeaders(Header[] Headers)
Headers
- The custom request header carried during log delivery. If the header name you fill in is the default header carried by EdgeOne log delivery such as Content-Type, then the header value you fill in will override the default value. The header value supports referring to a single variable ${batchSize} to obtain the number of log entries included in each POST request.Copyright © 2024. All rights reserved.