Class DNSRecordSpec

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<DNSRecordSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class DNSRecordSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<DNSRecordSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    DNSRecordSpec contains the details of a DNS record.
    See Also:
    Serialized Form
    • Constructor Detail

      • DNSRecordSpec

        public DNSRecordSpec()
        No args constructor for use in serialization
    • Method Detail

      • getDnsManagementPolicy

        public String getDnsManagementPolicy()
        dnsManagementPolicy denotes the current policy applied on the DNS record. Records that have policy set as "Unmanaged" are ignored by the ingress operator. This means that the DNS record on the cloud provider is not managed by the operator, and the "Published" status condition will be updated to "Unknown" status, since it is externally managed. Any existing record on the cloud provider can be deleted at the discretion of the cluster admin.


        This field defaults to Managed. Valid values are "Managed" and "Unmanaged".

      • setDnsManagementPolicy

        public void setDnsManagementPolicy​(String dnsManagementPolicy)
        dnsManagementPolicy denotes the current policy applied on the DNS record. Records that have policy set as "Unmanaged" are ignored by the ingress operator. This means that the DNS record on the cloud provider is not managed by the operator, and the "Published" status condition will be updated to "Unknown" status, since it is externally managed. Any existing record on the cloud provider can be deleted at the discretion of the cluster admin.


        This field defaults to Managed. Valid values are "Managed" and "Unmanaged".

      • getDnsName

        public String getDnsName()
        dnsName is the hostname of the DNS record
      • setDnsName

        public void setDnsName​(String dnsName)
        dnsName is the hostname of the DNS record
      • getRecordTTL

        public Long getRecordTTL()
        recordTTL is the record TTL in seconds. If zero, the default is 30. RecordTTL will not be used in AWS regions Alias targets, but will be used in CNAME targets, per AWS API contract.
      • setRecordTTL

        public void setRecordTTL​(Long recordTTL)
        recordTTL is the record TTL in seconds. If zero, the default is 30. RecordTTL will not be used in AWS regions Alias targets, but will be used in CNAME targets, per AWS API contract.
      • getRecordType

        public String getRecordType()
        recordType is the DNS record type. For example, "A" or "CNAME".
      • setRecordType

        public void setRecordType​(String recordType)
        recordType is the DNS record type. For example, "A" or "CNAME".
      • getTargets

        public List<String> getTargets()
        targets are record targets.
      • setTargets

        public void setTargets​(List<String> targets)
        targets are record targets.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)