public static final class CreateInterceptionTargetRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateInterceptionTargetRequest.Builder |
appName(String appName)
The name of the application to which the network object belongs.
|
CreateInterceptionTargetRequest |
build() |
CreateInterceptionTargetRequest.Builder |
clusterId(String clusterId)
The cluster ID.
|
CreateInterceptionTargetRequest.Builder |
clusterName(String clusterName)
The cluster name.
|
CreateInterceptionTargetRequest.Builder |
imageList(List<String> imageList)
An array that consists of the images of the network object.
|
CreateInterceptionTargetRequest.Builder |
namespace(String namespace)
The namespace to which the network object belongs.
|
CreateInterceptionTargetRequest.Builder |
tagList(List<String> tagList)
An array that consists of the labels specified for the network object.
|
CreateInterceptionTargetRequest.Builder |
targetName(String targetName)
The name of the object to be blocked.
|
CreateInterceptionTargetRequest.Builder |
targetType(String targetType)
The object type.
|
public CreateInterceptionTargetRequest.Builder appName(String appName)
The name of the application to which the network object belongs.
example:frontend
public CreateInterceptionTargetRequest.Builder clusterId(String clusterId)
The cluster ID.
example:cc20a1024011c44b6a8710d6f8b****
public CreateInterceptionTargetRequest.Builder clusterName(String clusterName)
The cluster name.
example:sas-test-cnnf
public CreateInterceptionTargetRequest.Builder imageList(List<String> imageList)
An array that consists of the images of the network object.
public CreateInterceptionTargetRequest.Builder namespace(String namespace)
The namespace to which the network object belongs.
This parameter is required.
example:default
public CreateInterceptionTargetRequest.Builder tagList(List<String> tagList)
An array that consists of the labels specified for the network object.
public CreateInterceptionTargetRequest.Builder targetName(String targetName)
The name of the object to be blocked.
This parameter is required.
example:test
public CreateInterceptionTargetRequest.Builder targetType(String targetType)
The object type. Valid value:
This parameter is required.
example:IMAGE
public CreateInterceptionTargetRequest build()
Copyright © 2026. All rights reserved.