Class Server
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.Server
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ServerBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Server extends Object implements io.fabric8.kubernetes.api.builder.Editable<ServerBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Server defines the schema for a server that runs per instance of CoreDNS.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerBuilderedit()Map<String,Object>getAdditionalProperties()ForwardPlugingetForwardPlugin()Server defines the schema for a server that runs per instance of CoreDNS.StringgetName()name is required and specifies a unique name for the server.List<String>getZones()zones is required and specifies the subdomains that Server is authoritative for.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetForwardPlugin(ForwardPlugin forwardPlugin)Server defines the schema for a server that runs per instance of CoreDNS.voidsetName(String name)name is required and specifies a unique name for the server.voidsetZones(List<String> zones)zones is required and specifies the subdomains that Server is authoritative for.ServerBuildertoBuilder()
-
-
-
Constructor Detail
-
Server
public Server()
No args constructor for use in serialization
-
Server
public Server(ForwardPlugin forwardPlugin, String name, List<String> zones)
-
-
Method Detail
-
getForwardPlugin
public ForwardPlugin getForwardPlugin()
Server defines the schema for a server that runs per instance of CoreDNS.
-
setForwardPlugin
public void setForwardPlugin(ForwardPlugin forwardPlugin)
Server defines the schema for a server that runs per instance of CoreDNS.
-
getName
public String getName()
name is required and specifies a unique name for the server. Name must comply with the Service Name Syntax of rfc6335.
-
setName
public void setName(String name)
name is required and specifies a unique name for the server. Name must comply with the Service Name Syntax of rfc6335.
-
getZones
public List<String> getZones()
zones is required and specifies the subdomains that Server is authoritative for. Zones must conform to the rfc1123 definition of a subdomain. Specifying the cluster domain (i.e., "cluster.local") is invalid.
-
setZones
public void setZones(List<String> zones)
zones is required and specifies the subdomains that Server is authoritative for. Zones must conform to the rfc1123 definition of a subdomain. Specifying the cluster domain (i.e., "cluster.local") is invalid.
-
edit
public ServerBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ServerBuilder>
-
toBuilder
public ServerBuilder toBuilder()
-
-