Class DNSSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.DNSSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DNSSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DNSSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<DNSSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DNSSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetBaseDomain()baseDomain is the base domain of the cluster.DNSPlatformSpecgetPlatform()DNSZonegetPrivateZone()DNSZonegetPublicZone()voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBaseDomain(String baseDomain)baseDomain is the base domain of the cluster.voidsetPlatform(DNSPlatformSpec platform)voidsetPrivateZone(DNSZone privateZone)voidsetPublicZone(DNSZone publicZone)DNSSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
DNSSpec
public DNSSpec()
No args constructor for use in serialization
-
DNSSpec
public DNSSpec(String baseDomain, DNSPlatformSpec platform, DNSZone privateZone, DNSZone publicZone)
-
-
Method Detail
-
getBaseDomain
public String getBaseDomain()
baseDomain is the base domain of the cluster. All managed DNS records will be sub-domains of this base.For example, given the base domain `openshift.example.com`, an API server DNS record may be created for `cluster-api.openshift.example.com`.
Once set, this field cannot be changed.
-
setBaseDomain
public void setBaseDomain(String baseDomain)
baseDomain is the base domain of the cluster. All managed DNS records will be sub-domains of this base.For example, given the base domain `openshift.example.com`, an API server DNS record may be created for `cluster-api.openshift.example.com`.
Once set, this field cannot be changed.
-
getPlatform
public DNSPlatformSpec getPlatform()
-
setPlatform
public void setPlatform(DNSPlatformSpec platform)
-
getPrivateZone
public DNSZone getPrivateZone()
-
setPrivateZone
public void setPrivateZone(DNSZone privateZone)
-
getPublicZone
public DNSZone getPublicZone()
-
setPublicZone
public void setPublicZone(DNSZone publicZone)
-
edit
public DNSSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DNSSpecBuilder>
-
toBuilder
public DNSSpecBuilder toBuilder()
-
-