Package com.vmware.nsx_policy.model
Class AggregatePolicyDnsAnswer.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.AggregatePolicyDnsAnswer.Builder
-
- Enclosing class:
- AggregatePolicyDnsAnswer
public static final class AggregatePolicyDnsAnswer.Builder extends java.lang.Object
Builder class forAggregatePolicyDnsAnswer
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofAggregatePolicyDnsAnswer
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregatePolicyDnsAnswer
build()
AggregatePolicyDnsAnswer.Builder
setDnsAnswerPerEnforcementPoint(java.util.List<com.vmware.vapi.bindings.Structure> dnsAnswerPerEnforcementPoint)
List of DNS forwarder nslookup answer per enforcement point.AggregatePolicyDnsAnswer.Builder
setIntentPath(java.lang.String intentPath)
String path of the DNS forwarder intent.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAggregatePolicyDnsAnswer
.
-
-
Method Detail
-
setDnsAnswerPerEnforcementPoint
public AggregatePolicyDnsAnswer.Builder setDnsAnswerPerEnforcementPoint(java.util.List<com.vmware.vapi.bindings.Structure> dnsAnswerPerEnforcementPoint)
List of DNS forwarder nslookup answer per enforcement point. 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:
dnsAnswerPerEnforcementPoint
- New value for the property. When clients pass a value of this class as a parameter, the property must contain all the properties defined inPolicyDnsAnswerPerEnforcementPoint
. When methods return a value of this class as a return value, the property will contain all the properties defined inPolicyDnsAnswerPerEnforcementPoint
.
-
setIntentPath
public AggregatePolicyDnsAnswer.Builder setIntentPath(java.lang.String intentPath)
String path of the DNS forwarder intent.- Parameters:
intentPath
- New value for the property.
-
build
public AggregatePolicyDnsAnswer build()
-
-