Package com.ibm.cloud.is.vpc.v1.model
Class DNSServer
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.DNSServer
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DNSServer extends com.ibm.cloud.sdk.core.service.model.GenericModel
A DNS server.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAddress()
Gets the address.ZoneReference
getZoneAffinity()
Gets the zoneAffinity.
-
-
-
Method Detail
-
getAddress
public String getAddress()
Gets the address. The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.- Returns:
- the address
-
getZoneAffinity
public ZoneReference getZoneAffinity()
Gets the zoneAffinity. If present, DHCP configuration for this zone will have this DNS server listed first.- Returns:
- the zoneAffinity
-
-