Class OriginInput
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.dns_svcs.v1.model.OriginInput
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class OriginInput extends com.ibm.cloud.sdk.core.service.model.GenericModel
The request data of origin server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OriginInput.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
address()
Gets the address.String
description()
Gets the description.Boolean
enabled()
Gets the enabled.String
name()
Gets the name.OriginInput.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public OriginInput.Builder newBuilder()
New builder.- Returns:
- a OriginInput builder
-
name
public String name()
Gets the name. The name of the origin server.- Returns:
- the name
-
description
public String description()
Gets the description. Description of the origin server.- Returns:
- the description
-
address
public String address()
Gets the address. The address of the origin server. It can be a hostname or an IP address.- Returns:
- the address
-
enabled
public Boolean enabled()
Gets the enabled. Whether the origin server is enabled.- Returns:
- the enabled
-
-