Package com.vmware.nsx_policy.model
Class PolicyAntreaEgress.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyAntreaEgress.Builder
-
- Enclosing class:
- PolicyAntreaEgress
public static final class PolicyAntreaEgress.Builder extends java.lang.ObjectBuilder class forPolicyAntreaEgress.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofPolicyAntreaEgress.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyAntreaEgressbuild()PolicyAntreaEgress.BuildersetDisplayName(java.lang.String displayName)The name of kubernetes resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.PolicyAntreaEgress.BuildersetEgressIp(java.lang.String egressIp)The Antrea egress ip of antrea egress resource This property may be present in responses from the server, but if it is present in a request to server it will be ignored.PolicyAntreaEgress.BuildersetExternalId(java.lang.String externalId)The id of kubernetes resource 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 ofPolicyAntreaEgress.
-
-
Method Detail
-
setDisplayName
public PolicyAntreaEgress.Builder setDisplayName(java.lang.String displayName)
The name of kubernetes resource 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 PolicyAntreaEgress.Builder setExternalId(java.lang.String externalId)
The id of kubernetes resource 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.
-
setEgressIp
public PolicyAntreaEgress.Builder setEgressIp(java.lang.String egressIp)
The Antrea egress ip of antrea egress resource 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:
egressIp- New value for the property.
-
build
public PolicyAntreaEgress build()
-
-