Class LeaderElection

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class LeaderElection
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<LeaderElectionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    LeaderElection provides information to elect a leader
    See Also:
    Serialized Form
    • Constructor Detail

      • LeaderElection

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

      • getDisable

        public Boolean getDisable()
        disable allows leader election to be suspended while allowing a fully defaulted "normal" startup case.
      • setDisable

        public void setDisable​(Boolean disable)
        disable allows leader election to be suspended while allowing a fully defaulted "normal" startup case.
      • getLeaseDuration

        public String getLeaseDuration()
        LeaderElection provides information to elect a leader
      • setLeaseDuration

        public void setLeaseDuration​(String leaseDuration)
        LeaderElection provides information to elect a leader
      • getName

        public String getName()
        name indicates what name to use for the resource
      • setName

        public void setName​(String name)
        name indicates what name to use for the resource
      • getNamespace

        public String getNamespace()
        namespace indicates which namespace the resource is in
      • setNamespace

        public void setNamespace​(String namespace)
        namespace indicates which namespace the resource is in
      • getRenewDeadline

        public String getRenewDeadline()
        LeaderElection provides information to elect a leader
      • setRenewDeadline

        public void setRenewDeadline​(String renewDeadline)
        LeaderElection provides information to elect a leader
      • getRetryPeriod

        public String getRetryPeriod()
        LeaderElection provides information to elect a leader
      • setRetryPeriod

        public void setRetryPeriod​(String retryPeriod)
        LeaderElection provides information to elect a leader
      • getAdditionalProperties

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

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

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