All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kubernetes.client.openapi.models.V1LifecycleFluent Maven / Gradle / Ivy

There is a newer version: 22.0.0
Show newest version
/*
Copyright 2022 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;

/** Generated */
public interface V1LifecycleFluent> extends Fluent {

  /**
   * This method has been deprecated, please use method buildPostStart instead.
   *
   * @return The buildable object.
   */
  @Deprecated
  public V1LifecycleHandler getPostStart();

  public io.kubernetes.client.openapi.models.V1LifecycleHandler buildPostStart();

  public A withPostStart(io.kubernetes.client.openapi.models.V1LifecycleHandler postStart);

  public Boolean hasPostStart();

  public V1LifecycleFluent.PostStartNested withNewPostStart();

  public io.kubernetes.client.openapi.models.V1LifecycleFluent.PostStartNested
      withNewPostStartLike(io.kubernetes.client.openapi.models.V1LifecycleHandler item);

  public io.kubernetes.client.openapi.models.V1LifecycleFluent.PostStartNested editPostStart();

  public io.kubernetes.client.openapi.models.V1LifecycleFluent.PostStartNested
      editOrNewPostStart();

  public io.kubernetes.client.openapi.models.V1LifecycleFluent.PostStartNested
      editOrNewPostStartLike(io.kubernetes.client.openapi.models.V1LifecycleHandler item);

  /**
   * This method has been deprecated, please use method buildPreStop instead.
   *
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public io.kubernetes.client.openapi.models.V1LifecycleHandler getPreStop();

  public io.kubernetes.client.openapi.models.V1LifecycleHandler buildPreStop();

  public A withPreStop(io.kubernetes.client.openapi.models.V1LifecycleHandler preStop);

  public java.lang.Boolean hasPreStop();

  public V1LifecycleFluent.PreStopNested withNewPreStop();

  public io.kubernetes.client.openapi.models.V1LifecycleFluent.PreStopNested withNewPreStopLike(
      io.kubernetes.client.openapi.models.V1LifecycleHandler item);

  public io.kubernetes.client.openapi.models.V1LifecycleFluent.PreStopNested editPreStop();

  public io.kubernetes.client.openapi.models.V1LifecycleFluent.PreStopNested editOrNewPreStop();

  public io.kubernetes.client.openapi.models.V1LifecycleFluent.PreStopNested
      editOrNewPreStopLike(io.kubernetes.client.openapi.models.V1LifecycleHandler item);

  public interface PostStartNested
      extends Nested, V1LifecycleHandlerFluent> {
    public N and();

    public N endPostStart();
  }

  public interface PreStopNested
      extends io.kubernetes.client.fluent.Nested,
          V1LifecycleHandlerFluent> {
    public N and();

    public N endPreStop();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy