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

io.fabric8.kubernetes.api.model.extensions.ScaleSpecFluentImpl Maven / Gradle / Ivy

There is a newer version: 6.13.4
Show newest version
package io.fabric8.kubernetes.api.model.extensions;

import java.util.HashMap;
import java.io.Serializable;
import java.util.Map;
import java.util.Map;
import java.util.AbstractMap;
import io.fabric8.kubernetes.api.builder.Visitable;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import io.fabric8.kubernetes.api.builder.Fluent;

public class ScaleSpecFluentImpl> extends BaseFluent implements ScaleSpecFluent{

     Integer replicas;
public ScaleSpecFluentImpl(){
    
}
public ScaleSpecFluentImpl( ScaleSpec instance ){
    this.withReplicas(instance.getReplicas()); 
}

    public Integer getReplicas(){
    return this.replicas;
    }
    public A withReplicas( Integer replicas){
    this.replicas=replicas; return (A) this;
    }
    public boolean equals( Object o){
    
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ScaleSpecFluentImpl that = (ScaleSpecFluentImpl) o;
if (replicas != null ? !replicas.equals(that.replicas) :that.replicas != null) return false;
return true;

    }



}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy