public static final class ApplyScenarioRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ApplyScenarioRequest.Builder |
appId(String appId)
The ID of the application.
|
ApplyScenarioRequest |
build() |
ApplyScenarioRequest.Builder |
config(Map<String,?> config)
The configuration of the business monitoring job.
|
ApplyScenarioRequest.Builder |
name(String name)
The name of the business monitoring job.
|
ApplyScenarioRequest.Builder |
regionId(String regionId)
The ID of the region.
|
ApplyScenarioRequest.Builder |
scenario(String scenario)
The scenario where you want to use the business monitoring job.
|
ApplyScenarioRequest.Builder |
sign(String sign)
The code of the business monitoring job.
|
ApplyScenarioRequest.Builder |
snDump(Boolean snDump)
Specifies whether to record business parameters to the trace marked with the coloring sign.
|
ApplyScenarioRequest.Builder |
snForce(Boolean snForce)
Specifies whether traffic in the trace marked with the coloring sign is all collected.
|
ApplyScenarioRequest.Builder |
snStat(Boolean snStat)
Specifies whether to count traffic based on the coloring sign.
|
ApplyScenarioRequest.Builder |
snTransfer(Boolean snTransfer)
Specifies whether the coloring sign is transparently passed down to downstream application nodes in the trace.
|
ApplyScenarioRequest.Builder |
updateOption(Boolean updateOption)
Specifies whether the operation is an update operation.
|
public ApplyScenarioRequest.Builder appId(String appId)
public ApplyScenarioRequest.Builder config(Map<String,?> config)
public ApplyScenarioRequest.Builder name(String name)
public ApplyScenarioRequest.Builder regionId(String regionId)
public ApplyScenarioRequest.Builder scenario(String scenario)
* `USER-DEFINED`: user-defined. This is the default value. * `EDAS-ROLLOUT`: application release in Enterprise Distributed Application Service (EDAS) * `OAM-ROLLOUT`: application release based on Open Application Model (OAM) * `MSC-CANARY`: canary release based on Microservice Engine (MSE)
public ApplyScenarioRequest.Builder sign(String sign)
public ApplyScenarioRequest.Builder snDump(Boolean snDump)
* `true` * `false`: This is the default value.
public ApplyScenarioRequest.Builder snForce(Boolean snForce)
* `true` * `false`: This is the default value.
public ApplyScenarioRequest.Builder snStat(Boolean snStat)
* `true` * `false`: This is the default value.
public ApplyScenarioRequest.Builder snTransfer(Boolean snTransfer)
* `true` * `false`: This is the default value.
public ApplyScenarioRequest.Builder updateOption(Boolean updateOption)
* `true`: update * `false`: insert
public ApplyScenarioRequest build()
Copyright © 2024. All rights reserved.