Class DNSNameResolverResolvedName
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.network.v1alpha1.DNSNameResolverResolvedName
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DNSNameResolverResolvedNameBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DNSNameResolverResolvedName extends Object implements io.fabric8.kubernetes.api.builder.Editable<DNSNameResolverResolvedNameBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
DNSNameResolverResolvedName describes the details of a resolved DNS name.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DNSNameResolverResolvedName()No args constructor for use in serializationDNSNameResolverResolvedName(List<io.fabric8.kubernetes.api.model.Condition> conditions, String dnsName, Integer resolutionFailures, List<DNSNameResolverResolvedAddress> resolvedAddresses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DNSNameResolverResolvedNameBuilderedit()Map<String,Object>getAdditionalProperties()List<io.fabric8.kubernetes.api.model.Condition>getConditions()conditions provide information about the state of the DNS name.StringgetDnsName()dnsName is the resolved DNS name matching the name field of DNSNameResolverSpec.IntegergetResolutionFailures()resolutionFailures keeps the count of how many consecutive times the DNS resolution failed for the dnsName.List<DNSNameResolverResolvedAddress>getResolvedAddresses()resolvedAddresses gives the list of associated IP addresses and their corresponding TTLs and last lookup times for the dnsName.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)conditions provide information about the state of the DNS name.voidsetDnsName(String dnsName)dnsName is the resolved DNS name matching the name field of DNSNameResolverSpec.voidsetResolutionFailures(Integer resolutionFailures)resolutionFailures keeps the count of how many consecutive times the DNS resolution failed for the dnsName.voidsetResolvedAddresses(List<DNSNameResolverResolvedAddress> resolvedAddresses)resolvedAddresses gives the list of associated IP addresses and their corresponding TTLs and last lookup times for the dnsName.DNSNameResolverResolvedNameBuildertoBuilder()
-
-
-
Constructor Detail
-
DNSNameResolverResolvedName
public DNSNameResolverResolvedName()
No args constructor for use in serialization
-
DNSNameResolverResolvedName
public DNSNameResolverResolvedName(List<io.fabric8.kubernetes.api.model.Condition> conditions, String dnsName, Integer resolutionFailures, List<DNSNameResolverResolvedAddress> resolvedAddresses)
-
-
Method Detail
-
getConditions
public List<io.fabric8.kubernetes.api.model.Condition> getConditions()
conditions provide information about the state of the DNS name. Known .status.conditions.type is: "Degraded". "Degraded" is true when the last resolution failed for the DNS name, and false otherwise.
-
setConditions
public void setConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)
conditions provide information about the state of the DNS name. Known .status.conditions.type is: "Degraded". "Degraded" is true when the last resolution failed for the DNS name, and false otherwise.
-
getDnsName
public String getDnsName()
dnsName is the resolved DNS name matching the name field of DNSNameResolverSpec. This field can store both regular and wildcard DNS names which match the spec.name field. When the spec.name field contains a regular DNS name, this field will store the same regular DNS name after it is successfully resolved. When the spec.name field contains a wildcard DNS name, each resolvedName.dnsName will store the regular DNS names which match the wildcard DNS name and have been successfully resolved. If the wildcard DNS name can also be successfully resolved, then this field will store the wildcard DNS name as well.
-
setDnsName
public void setDnsName(String dnsName)
dnsName is the resolved DNS name matching the name field of DNSNameResolverSpec. This field can store both regular and wildcard DNS names which match the spec.name field. When the spec.name field contains a regular DNS name, this field will store the same regular DNS name after it is successfully resolved. When the spec.name field contains a wildcard DNS name, each resolvedName.dnsName will store the regular DNS names which match the wildcard DNS name and have been successfully resolved. If the wildcard DNS name can also be successfully resolved, then this field will store the wildcard DNS name as well.
-
getResolutionFailures
public Integer getResolutionFailures()
resolutionFailures keeps the count of how many consecutive times the DNS resolution failed for the dnsName. If the DNS resolution succeeds then the field will be set to zero. Upon every failure, the value of the field will be incremented by one. The details about the DNS name will be removed, if the value of resolutionFailures reaches 5 and the TTL of all the associated IP addresses have expired.
-
setResolutionFailures
public void setResolutionFailures(Integer resolutionFailures)
resolutionFailures keeps the count of how many consecutive times the DNS resolution failed for the dnsName. If the DNS resolution succeeds then the field will be set to zero. Upon every failure, the value of the field will be incremented by one. The details about the DNS name will be removed, if the value of resolutionFailures reaches 5 and the TTL of all the associated IP addresses have expired.
-
getResolvedAddresses
public List<DNSNameResolverResolvedAddress> getResolvedAddresses()
resolvedAddresses gives the list of associated IP addresses and their corresponding TTLs and last lookup times for the dnsName.
-
setResolvedAddresses
public void setResolvedAddresses(List<DNSNameResolverResolvedAddress> resolvedAddresses)
resolvedAddresses gives the list of associated IP addresses and their corresponding TTLs and last lookup times for the dnsName.
-
edit
public DNSNameResolverResolvedNameBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DNSNameResolverResolvedNameBuilder>
-
toBuilder
public DNSNameResolverResolvedNameBuilder toBuilder()
-
-