All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kubernetes.client.models.V1RollingUpdateStatefulSetStrategyFluentImpl Maven / Gradle / Ivy

package io.kubernetes.client.models;

import java.lang.Integer;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;

public class V1RollingUpdateStatefulSetStrategyFluentImpl> extends io.kubernetes.client.fluent.BaseFluent implements V1RollingUpdateStatefulSetStrategyFluent{

    private Integer partition;

    public V1RollingUpdateStatefulSetStrategyFluentImpl(){
    }
    public V1RollingUpdateStatefulSetStrategyFluentImpl(V1RollingUpdateStatefulSetStrategy instance){
            this.withPartition(instance.getPartition());

    }

    public Integer getPartition(){
            return this.partition;
    }

    public A withPartition(Integer partition){
            this.partition=partition; return (A) this;
    }

    public Boolean hasPartition(){
            return this.partition != null;
    }

    public A withNewPartition(int arg1){
            return (A)withPartition(new Integer(arg1));
    }

    public A withNewPartition(String arg1){
            return (A)withPartition(new Integer(arg1));
    }

    public boolean equals(Object o){
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            if (!super.equals(o)) return false;
            V1RollingUpdateStatefulSetStrategyFluentImpl that = (V1RollingUpdateStatefulSetStrategyFluentImpl) o;
            if (partition != null ? !partition.equals(that.partition) :that.partition != null) return false;
            return true;
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy