Class Origin
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.dns_svcs.v1.model.Origin
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Origin extends com.ibm.cloud.sdk.core.service.model.GenericModelOrigin server.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAddress()Gets the address.StringgetDescription()Gets the description.StringgetHealthFailureReason()Gets the healthFailureReason.StringgetName()Gets the name.BooleanisEnabled()Gets the enabled.BooleanisHealth()Gets the health.
-
-
-
Method Detail
-
getName
public String getName()
Gets the name. The name of the origin server.- Returns:
- the name
-
getDescription
public String getDescription()
Gets the description. Description of the origin server.- Returns:
- the description
-
getAddress
public String getAddress()
Gets the address. The address of the origin server. It can be a hostname or an IP address.- Returns:
- the address
-
isEnabled
public Boolean isEnabled()
Gets the enabled. Whether the origin server is enabled.- Returns:
- the enabled
-
isHealth
public Boolean isHealth()
Gets the health. The health state of the origin server.- Returns:
- the health
-
getHealthFailureReason
public String getHealthFailureReason()
Gets the healthFailureReason. The failure reason of the origin server if it is unhealthy.- Returns:
- the healthFailureReason
-
-