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.GenericModel
Origin server.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAddress()
Gets the address.String
getDescription()
Gets the description.String
getHealthFailureReason()
Gets the healthFailureReason.String
getName()
Gets the name.Boolean
isEnabled()
Gets the enabled.Boolean
isHealth()
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
-
-