public static final class UpdateOpaStrategyNewRequest.Scopes.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateOpaStrategyNewRequest.Scopes.Builder |
ackPolicyInstanceId(String ackPolicyInstanceId)
The ID of the cluster node to which the rule is applied.
|
UpdateOpaStrategyNewRequest.Scopes.Builder |
allNamespace(Integer allNamespace)
Specifies whether all namespaces are included.
|
UpdateOpaStrategyNewRequest.Scopes |
build() |
UpdateOpaStrategyNewRequest.Scopes.Builder |
clusterId(String clusterId)
The cluster ID.
|
UpdateOpaStrategyNewRequest.Scopes.Builder |
namespaceList(List<String> namespaceList)
The namespaces.
|
public UpdateOpaStrategyNewRequest.Scopes.Builder ackPolicyInstanceId(String ackPolicyInstanceId)
The ID of the cluster node to which the rule is applied.
example:You can call the GetOpaStrategyDetailNew operation to query the ID of the cluster node to which the rule is applied.
ack-1
public UpdateOpaStrategyNewRequest.Scopes.Builder allNamespace(Integer allNamespace)
Specifies whether all namespaces are included. Valid values:
1
public UpdateOpaStrategyNewRequest.Scopes.Builder clusterId(String clusterId)
The cluster ID.
example:You can call the DescribeGroupedContainerInstances operation to query the cluster ID.
cdcb56a931c**
public UpdateOpaStrategyNewRequest.Scopes.Builder namespaceList(List<String> namespaceList)
The namespaces.
This parameter is valid only when the AllNamespace parameter is set to 0.
public UpdateOpaStrategyNewRequest.Scopes build()
Copyright © 2026. All rights reserved.