public static final class CreateOpaStrategyNewRequest.Scopes.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateOpaStrategyNewRequest.Scopes.Builder |
ackPolicyInstanceId(String ackPolicyInstanceId)
The ID of the cluster node to which the rule is applied.
|
CreateOpaStrategyNewRequest.Scopes.Builder |
allNamespace(Integer allNamespace)
Specifies whether to include all namespaces.
|
CreateOpaStrategyNewRequest.Scopes |
build() |
CreateOpaStrategyNewRequest.Scopes.Builder |
clusterId(String clusterId)
The ID of the cluster that is specified in the rule.
|
CreateOpaStrategyNewRequest.Scopes.Builder |
namespaceList(List<String> namespaceList)
The namespaces.
|
public CreateOpaStrategyNewRequest.Scopes.Builder ackPolicyInstanceId(String ackPolicyInstanceId)
The ID of the cluster node to which the rule is applied.
example:This parameter is not required when you create the instance.
ack-p-1
public CreateOpaStrategyNewRequest.Scopes.Builder allNamespace(Integer allNamespace)
Specifies whether to include all namespaces. Valid values:
1
public CreateOpaStrategyNewRequest.Scopes.Builder clusterId(String clusterId)
The ID of the cluster that is specified in the rule.
example:You can call the DescribeGroupedContainerInstances operation to query the cluster ID.
cc50d***015d2
public CreateOpaStrategyNewRequest.Scopes.Builder namespaceList(List<String> namespaceList)
The namespaces.
This parameter is valid only when the AllNamespace parameter is set to 0.
public CreateOpaStrategyNewRequest.Scopes build()
Copyright © 2026. All rights reserved.