Package com.vmware.nsx_policy.model
Class PolicyGroupAntreaEgressCluster.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyGroupAntreaEgressCluster.Builder
-
- Enclosing class:
- PolicyGroupAntreaEgressCluster
public static final class PolicyGroupAntreaEgressCluster.Builder extends java.lang.Object
Builder class forPolicyGroupAntreaEgressCluster
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyGroupAntreaEgressCluster
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyGroupAntreaEgressCluster
build()
PolicyGroupAntreaEgressCluster.Builder
setAntreaEgresses(java.util.List<PolicyAntreaEgress> antreaEgresses)
PolicyGroupAntreaEgressCluster.Builder
setDisplayName(java.lang.String displayName)
The name of kubernetes cluster This property may be present in responses from the server, but if it is present in a request to server it will be ignored.PolicyGroupAntreaEgressCluster.Builder
setExternalId(java.lang.String externalId)
The id of kubernetes cluster This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyGroupAntreaEgressCluster
.
-
-
Method Detail
-
setAntreaEgresses
public PolicyGroupAntreaEgressCluster.Builder setAntreaEgresses(java.util.List<PolicyAntreaEgress> antreaEgresses)
- Parameters:
antreaEgresses
- New value for the property.
-
setDisplayName
public PolicyGroupAntreaEgressCluster.Builder setDisplayName(java.lang.String displayName)
The name of kubernetes cluster This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
displayName
- New value for the property.
-
setExternalId
public PolicyGroupAntreaEgressCluster.Builder setExternalId(java.lang.String externalId)
The id of kubernetes cluster This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
externalId
- New value for the property.
-
build
public PolicyGroupAntreaEgressCluster build()
-
-