Class Location
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.dns_svcs.v1.model.Location
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Location extends com.ibm.cloud.sdk.core.service.model.GenericModelCustom resolver location.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDnsServerIp()Gets the dnsServerIp.StringgetId()Gets the id.StringgetSubnetCrn()Gets the subnetCrn.BooleanisEnabled()Gets the enabled.BooleanisHealthy()Gets the healthy.
-
-
-
Method Detail
-
getId
public String getId()
Gets the id. Location ID.- Returns:
- the id
-
getSubnetCrn
public String getSubnetCrn()
Gets the subnetCrn. Subnet CRN.- Returns:
- the subnetCrn
-
isEnabled
public Boolean isEnabled()
Gets the enabled. Whether the location is enabled for the custom resolver.- Returns:
- the enabled
-
isHealthy
public Boolean isHealthy()
Gets the healthy. Whether the DNS server in this location is healthy or not.- Returns:
- the healthy
-
getDnsServerIp
public String getDnsServerIp()
Gets the dnsServerIp. The ip address of this dns server.- Returns:
- the dnsServerIp
-
-