io.alauda.kubernetes.api.model.extensions.NetworkPolicyPortFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model.extensions;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.model.IntOrString;
import io.alauda.kubernetes.api.builder.Nested;
import com.fasterxml.jackson.databind.JsonSerializer;
import java.lang.String;
import com.fasterxml.jackson.databind.JsonDeserializer;
import io.alauda.kubernetes.api.model.IntOrStringBuilder;
import java.lang.Deprecated;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.SerializerProvider;
import java.lang.Boolean;
import java.lang.Override;
import com.fasterxml.jackson.core.JsonParser;
import io.alauda.kubernetes.api.builder.Fluent;
import io.alauda.kubernetes.api.model.IntOrStringFluent;
import java.lang.Integer;
import javax.validation.Valid;
import java.lang.Object;
import java.util.Map;
public interface NetworkPolicyPortFluent> extends Fluent{
/**
* This method has been deprecated, please use method buildPort instead.
*/
@Deprecated public IntOrString getPort();
public IntOrString buildPort();
public A withPort(IntOrString port);
public Boolean hasPort();
public NetworkPolicyPortFluent.PortNested withNewPort();
public NetworkPolicyPortFluent.PortNested withNewPortLike(IntOrString item);
public NetworkPolicyPortFluent.PortNested editPort();
public NetworkPolicyPortFluent.PortNested editOrNewPort();
public NetworkPolicyPortFluent.PortNested editOrNewPortLike(IntOrString item);
public A withNewPort(Integer intVal);
public A withNewPort(String strVal);
public String getProtocol();
public A withProtocol(String protocol);
public Boolean hasProtocol();
public interface PortNested extends io.alauda.kubernetes.api.builder.Nested,IntOrStringFluent>{
public N and(); public N endPort();
}
}