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