io.kubernetes.client.openapi.models.V1NetworkPolicyFluent Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import java.lang.StringBuilder;
import com.google.gson.annotations.SerializedName;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.lang.String;
import java.lang.StringBuffer;
import java.lang.Deprecated;
import java.lang.Boolean;
public interface V1NetworkPolicyFluent> extends Fluent {
public String getApiVersion();
public A withApiVersion(String apiVersion);
public Boolean hasApiVersion();
public A withNewApiVersion(String arg1);
public A withNewApiVersion(StringBuilder arg1);
public A withNewApiVersion(StringBuffer arg1);
public String getKind();
public A withKind(String kind);
public Boolean hasKind();
public A withNewKind(String arg1);
public A withNewKind(StringBuilder arg1);
public A withNewKind(StringBuffer arg1);
/**
* This method has been deprecated, please use method buildMetadata instead.
* @return The buildable object.
*/
@Deprecated public V1ObjectMeta getMetadata();
public V1ObjectMeta buildMetadata();
public A withMetadata(V1ObjectMeta metadata);
public Boolean hasMetadata();
public V1NetworkPolicyFluent.MetadataNested withNewMetadata();
public V1NetworkPolicyFluent.MetadataNested withNewMetadataLike(V1ObjectMeta item);
public V1NetworkPolicyFluent.MetadataNested editMetadata();
public V1NetworkPolicyFluent.MetadataNested editOrNewMetadata();
public V1NetworkPolicyFluent.MetadataNested editOrNewMetadataLike(V1ObjectMeta item);
/**
* This method has been deprecated, please use method buildSpec instead.
* @return The buildable object.
*/
@Deprecated public V1NetworkPolicySpec getSpec();
public V1NetworkPolicySpec buildSpec();
public A withSpec(V1NetworkPolicySpec spec);
public Boolean hasSpec();
public V1NetworkPolicyFluent.SpecNested withNewSpec();
public V1NetworkPolicyFluent.SpecNested withNewSpecLike(V1NetworkPolicySpec item);
public V1NetworkPolicyFluent.SpecNested editSpec();
public V1NetworkPolicyFluent.SpecNested editOrNewSpec();
public V1NetworkPolicyFluent.SpecNested editOrNewSpecLike(V1NetworkPolicySpec item);
public interface MetadataNested extends io.kubernetes.client.fluent.Nested,V1ObjectMetaFluent> {
public N and();
public N endMetadata(); }
public interface SpecNested extends io.kubernetes.client.fluent.Nested,V1NetworkPolicySpecFluent> {
public N and();
public N endSpec(); }
}