public static final class ModifyLosslessRuleRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyLosslessRuleRequest.Builder |
acceptLanguage(String acceptLanguage)
The language of the response.
|
ModifyLosslessRuleRequest.Builder |
aligned(Boolean aligned)
Specifies whether to align the lifecycle of the application in the Kubernetes cluster with that of the microservice.
|
ModifyLosslessRuleRequest.Builder |
appId(String appId)
The ID of the application.
|
ModifyLosslessRuleRequest.Builder |
appName(String appName)
The name of the application.
|
ModifyLosslessRuleRequest |
build() |
ModifyLosslessRuleRequest.Builder |
delayTime(Integer delayTime)
The registration latency.
|
ModifyLosslessRuleRequest.Builder |
enable(Boolean enable)
Specifies whether to enable the alert rule.
|
ModifyLosslessRuleRequest.Builder |
funcType(Integer funcType)
The slope of the prefetching curve.
|
ModifyLosslessRuleRequest.Builder |
lossLessDetail(Boolean lossLessDetail)
Specifies whether to display online and offline processing details.
|
ModifyLosslessRuleRequest.Builder |
namespace(String namespace)
The microservice namespace to which the rule applies.
|
ModifyLosslessRuleRequest.Builder |
notice(Boolean notice)
Specifies whether to enable notification.
|
ModifyLosslessRuleRequest.Builder |
regionId(String regionId)
The ID of the region.
|
ModifyLosslessRuleRequest.Builder |
related(Boolean related)
Specifies whether to associate with service prefetching.
|
ModifyLosslessRuleRequest.Builder |
warmupTime(Integer warmupTime)
The prefetching duration.
|
public ModifyLosslessRuleRequest.Builder acceptLanguage(String acceptLanguage)
The language of the response. Valid values:
zh
public ModifyLosslessRuleRequest.Builder aligned(Boolean aligned)
Specifies whether to align the lifecycle of the application in the Kubernetes cluster with that of the microservice.
This parameter is required.
example:true
public ModifyLosslessRuleRequest.Builder appId(String appId)
The ID of the application.
This parameter is required.
example:c644n5frmc@3e75f25fd4*****
public ModifyLosslessRuleRequest.Builder appName(String appName)
The name of the application.
example:wx-work-api
public ModifyLosslessRuleRequest.Builder delayTime(Integer delayTime)
The registration latency.
This parameter is required.
example:1
public ModifyLosslessRuleRequest.Builder enable(Boolean enable)
Specifies whether to enable the alert rule. Valid values:
true: enables the rule.false: disables the rule.This parameter is required.
example:false
public ModifyLosslessRuleRequest.Builder funcType(Integer funcType)
The slope of the prefetching curve.
This parameter is required.
example:1
public ModifyLosslessRuleRequest.Builder lossLessDetail(Boolean lossLessDetail)
Specifies whether to display online and offline processing details.
example:false
public ModifyLosslessRuleRequest.Builder namespace(String namespace)
The microservice namespace to which the rule applies.
example:default
public ModifyLosslessRuleRequest.Builder notice(Boolean notice)
Specifies whether to enable notification.
example:false
public ModifyLosslessRuleRequest.Builder regionId(String regionId)
The ID of the region.
This parameter is required.
example:cn-beijing
public ModifyLosslessRuleRequest.Builder related(Boolean related)
Specifies whether to associate with service prefetching.
This parameter is required.
example:true
public ModifyLosslessRuleRequest.Builder warmupTime(Integer warmupTime)
The prefetching duration.
This parameter is required.
example:60
public ModifyLosslessRuleRequest build()
Copyright © 2026. All rights reserved.