public static final class UpdateSlsLogStoreRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
UpdateSlsLogStoreRequest.Builder |
appId(String appId)
The ID of the application.
|
UpdateSlsLogStoreRequest |
build() |
UpdateSlsLogStoreRequest.Builder |
configs(String configs)
The configurations of the Logstore.
|
public UpdateSlsLogStoreRequest.Builder appId(String appId)
public UpdateSlsLogStoreRequest.Builder configs(String configs)
* The following parameters are included in the configurations:**** * **type**: the collection type. Set this parameter to file to specify the file type. Set this parameter to stdout to specify the standard output type. * **logstore**: the name of the Logstore. Make sure that the name of the Logstore is unique in the cluster. The name must comply with the following rules: * The name can contain only lowercase letters, digits, hyphens (-), and underscores (\_). * The name must start and end with a lowercase letter or a digit. * The name must be 3 to 63 characters in length. ** **Note**If you leave this parameter empty, the system automatically generates a name. * **LogDir**: If the standard output type is used, the collection path is stdout.log. If the file type is used, the collection path is the path of the collected file. Wildcards (\*) are supported. The collection path must match the following regular expression: `^/(.+)/(.*)^/$`.
public UpdateSlsLogStoreRequest build()
Copyright © 2023. All rights reserved.