io.k8s.api.core.v1.ServiceStatus Maven / Gradle / Ivy
package io.k8s.api.core.v1;
import io.k8s.apimachinery.pkg.apis.meta.v1.Condition;
import java.util.List;
/**
* ServiceStatus represents the current status of a service.
*/
public class ServiceStatus {
public List conditions;
public LoadBalancerStatus loadBalancer;
/**
* Current service state
*/
public ServiceStatus conditions(List conditions) {
this.conditions = conditions;
return this;
}
public ServiceStatus loadBalancer(LoadBalancerStatus loadBalancer) {
this.loadBalancer = loadBalancer;
return this;
}
public static ServiceStatus serviceStatus() {
return new ServiceStatus();
}
}