Class DNSRecordSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.ingress.v1.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 Summary
Constructors Constructor Description DNSRecordSpec()No args constructor for use in serializationDNSRecordSpec(String dnsManagementPolicy, String dnsName, Long recordTTL, String recordType, List<String> targets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DNSRecordSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDnsManagementPolicy()dnsManagementPolicy denotes the current policy applied on the DNS record.StringgetDnsName()dnsName is the hostname of the DNS recordLonggetRecordTTL()recordTTL is the record TTL in seconds.StringgetRecordType()recordType is the DNS record type.List<String>getTargets()targets are record targets.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDnsManagementPolicy(String dnsManagementPolicy)dnsManagementPolicy denotes the current policy applied on the DNS record.voidsetDnsName(String dnsName)dnsName is the hostname of the DNS recordvoidsetRecordTTL(Long recordTTL)recordTTL is the record TTL in seconds.voidsetRecordType(String recordType)recordType is the DNS record type.voidsetTargets(List<String> targets)targets are record targets.DNSRecordSpecBuildertoBuilder()
-
-
-
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".
-
edit
public DNSRecordSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DNSRecordSpecBuilder>
-
toBuilder
public DNSRecordSpecBuilder toBuilder()
-
-