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

io.kubernetes.client.openapi.models.V1ProjectedVolumeSourceFluent 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;
import java.util.Collection;
import java.util.List;
import java.util.function.Predicate;

/** Generated */
public interface V1ProjectedVolumeSourceFluent>
    extends Fluent {
  public Integer getDefaultMode();

  public A withDefaultMode(java.lang.Integer defaultMode);

  public Boolean hasDefaultMode();

  public A addToSources(java.lang.Integer index, V1VolumeProjection item);

  public A setToSources(
      java.lang.Integer index, io.kubernetes.client.openapi.models.V1VolumeProjection item);

  public A addToSources(io.kubernetes.client.openapi.models.V1VolumeProjection... items);

  public A addAllToSources(
      Collection items);

  public A removeFromSources(io.kubernetes.client.openapi.models.V1VolumeProjection... items);

  public A removeAllFromSources(
      java.util.Collection items);

  public A removeMatchingFromSources(Predicate predicate);

  /**
   * This method has been deprecated, please use method buildSources instead.
   *
   * @return The buildable object.
   */
  @Deprecated
  public List getSources();

  public java.util.List buildSources();

  public io.kubernetes.client.openapi.models.V1VolumeProjection buildSource(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1VolumeProjection buildFirstSource();

  public io.kubernetes.client.openapi.models.V1VolumeProjection buildLastSource();

  public io.kubernetes.client.openapi.models.V1VolumeProjection buildMatchingSource(
      java.util.function.Predicate
          predicate);

  public java.lang.Boolean hasMatchingSource(
      java.util.function.Predicate
          predicate);

  public A withSources(
      java.util.List sources);

  public A withSources(io.kubernetes.client.openapi.models.V1VolumeProjection... sources);

  public java.lang.Boolean hasSources();

  public V1ProjectedVolumeSourceFluent.SourcesNested addNewSource();

  public io.kubernetes.client.openapi.models.V1ProjectedVolumeSourceFluent.SourcesNested
      addNewSourceLike(io.kubernetes.client.openapi.models.V1VolumeProjection item);

  public io.kubernetes.client.openapi.models.V1ProjectedVolumeSourceFluent.SourcesNested
      setNewSourceLike(
          java.lang.Integer index, io.kubernetes.client.openapi.models.V1VolumeProjection item);

  public io.kubernetes.client.openapi.models.V1ProjectedVolumeSourceFluent.SourcesNested
      editSource(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1ProjectedVolumeSourceFluent.SourcesNested
      editFirstSource();

  public io.kubernetes.client.openapi.models.V1ProjectedVolumeSourceFluent.SourcesNested
      editLastSource();

  public io.kubernetes.client.openapi.models.V1ProjectedVolumeSourceFluent.SourcesNested
      editMatchingSource(
          java.util.function.Predicate<
                  io.kubernetes.client.openapi.models.V1VolumeProjectionBuilder>
              predicate);

  public interface SourcesNested
      extends Nested, V1VolumeProjectionFluent> {
    public N and();

    public N endSource();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy