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

annotations.io.fabric8.kubernetes.api.model.extensions.CPUTargetUtilizationFluentImpl Maven / Gradle / Ivy

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

import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Integer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.lang.Object;

public class CPUTargetUtilizationFluentImpl> extends BaseFluent implements CPUTargetUtilizationFluent{

    private Integer targetPercentage;

    public CPUTargetUtilizationFluentImpl(){
    }
    public CPUTargetUtilizationFluentImpl(CPUTargetUtilization instance){
            this.withTargetPercentage(instance.getTargetPercentage()); 
    }

    public Integer getTargetPercentage(){
            return this.targetPercentage;
    }

    public A withTargetPercentage(Integer targetPercentage){
            this.targetPercentage=targetPercentage; return (A) this;
    }

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




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy