@Generated(value="org.openapitools.codegen.languages.JavaSmartxClientCodegen") public class IsolationPolicy extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
SERIALIZED_NAME_EGRESS |
static String |
SERIALIZED_NAME_EVEROUTE_CLUSTER |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_INGRESS |
static String |
SERIALIZED_NAME_LABELS |
static String |
SERIALIZED_NAME_MODE |
static String |
SERIALIZED_NAME_VM |
| 构造器和说明 |
|---|
IsolationPolicy() |
public static final String SERIALIZED_NAME_EVEROUTE_CLUSTER
public IsolationPolicy egress(List<NestedNetworkPolicyRule> egress)
public IsolationPolicy addEgressItem(NestedNetworkPolicyRule egressItem)
@Nullable public List<NestedNetworkPolicyRule> getEgress()
public void setEgress(List<NestedNetworkPolicyRule> egress)
public IsolationPolicy everouteCluster(NestedEverouteCluster everouteCluster)
@Nonnull public NestedEverouteCluster getEverouteCluster()
public void setEverouteCluster(NestedEverouteCluster everouteCluster)
public IsolationPolicy id(String id)
public void setId(String id)
public IsolationPolicy ingress(List<NestedNetworkPolicyRule> ingress)
public IsolationPolicy addIngressItem(NestedNetworkPolicyRule ingressItem)
@Nullable public List<NestedNetworkPolicyRule> getIngress()
public void setIngress(List<NestedNetworkPolicyRule> ingress)
public IsolationPolicy labels(List<NestedLabel> labels)
public IsolationPolicy addLabelsItem(NestedLabel labelsItem)
@Nullable public List<NestedLabel> getLabels()
public void setLabels(List<NestedLabel> labels)
public IsolationPolicy mode(IsolationMode mode)
@Nonnull public IsolationMode getMode()
public void setMode(IsolationMode mode)
public IsolationPolicy vm(NestedVm vm)
public void setVm(NestedVm vm)
Copyright © 2025. All rights reserved.