Class V1ReplicaSetSpec

java.lang.Object
io.kubernetes.client.openapi.models.V1ReplicaSetSpec

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class V1ReplicaSetSpec extends Object
ReplicaSetSpec is the specification of a ReplicaSet.
  • Field Details

  • Constructor Details

    • V1ReplicaSetSpec

      public V1ReplicaSetSpec()
  • Method Details

    • minReadySeconds

      public V1ReplicaSetSpec minReadySeconds(Integer minReadySeconds)
    • getMinReadySeconds

      @Nullable public Integer getMinReadySeconds()
      Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
      Returns:
      minReadySeconds
    • setMinReadySeconds

      public void setMinReadySeconds(Integer minReadySeconds)
    • replicas

      public V1ReplicaSetSpec replicas(Integer replicas)
    • getReplicas

      @Nullable public Integer getReplicas()
      Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
      Returns:
      replicas
    • setReplicas

      public void setReplicas(Integer replicas)
    • selector

      public V1ReplicaSetSpec selector(V1LabelSelector selector)
    • getSelector

      public V1LabelSelector getSelector()
      Get selector
      Returns:
      selector
    • setSelector

      public void setSelector(V1LabelSelector selector)
    • template

      public V1ReplicaSetSpec template(V1PodTemplateSpec template)
    • getTemplate

      @Nullable public V1PodTemplateSpec getTemplate()
      Get template
      Returns:
      template
    • setTemplate

      public void setTemplate(V1PodTemplateSpec template)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object