io.kubernetes.client.openapi.models.V1beta1LeaseFluent 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 V1beta1LeaseFluent> 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 V1beta1LeaseFluent.MetadataNested withNewMetadata();
public V1beta1LeaseFluent.MetadataNested withNewMetadataLike(V1ObjectMeta item);
public V1beta1LeaseFluent.MetadataNested editMetadata();
public V1beta1LeaseFluent.MetadataNested editOrNewMetadata();
public V1beta1LeaseFluent.MetadataNested editOrNewMetadataLike(V1ObjectMeta item);
/**
* This method has been deprecated, please use method buildSpec instead.
* @return The buildable object.
*/
@Deprecated public V1beta1LeaseSpec getSpec();
public V1beta1LeaseSpec buildSpec();
public A withSpec(V1beta1LeaseSpec spec);
public Boolean hasSpec();
public V1beta1LeaseFluent.SpecNested withNewSpec();
public V1beta1LeaseFluent.SpecNested withNewSpecLike(V1beta1LeaseSpec item);
public V1beta1LeaseFluent.SpecNested editSpec();
public V1beta1LeaseFluent.SpecNested editOrNewSpec();
public V1beta1LeaseFluent.SpecNested editOrNewSpecLike(V1beta1LeaseSpec 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,V1beta1LeaseSpecFluent> {
public N and();
public N endSpec(); }
}