Package com.vmware.nsx_policy.model
Class NsxtDnsQueryAnswer.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.NsxtDnsQueryAnswer.Builder
-
- Enclosing class:
- NsxtDnsQueryAnswer
public static final class NsxtDnsQueryAnswer.Builder extends java.lang.Object
Builder class forNsxtDnsQueryAnswer
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofNsxtDnsQueryAnswer
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NsxtDnsQueryAnswer
build()
NsxtDnsQueryAnswer.Builder
setAddress(java.lang.String address)
Resolved IP address matched with the nslookup address provided as a request parameter.NsxtDnsQueryAnswer.Builder
setName(java.lang.String name)
Matched name of the given address.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofNsxtDnsQueryAnswer
.
-
-
Method Detail
-
setAddress
public NsxtDnsQueryAnswer.Builder setAddress(java.lang.String address)
Resolved IP address matched with the nslookup address provided as a request parameter.- Parameters:
address
- New value for the property.
-
setName
public NsxtDnsQueryAnswer.Builder setName(java.lang.String name)
Matched name of the given address.- Parameters:
name
- New value for the property.
-
build
public NsxtDnsQueryAnswer build()
-
-