io.kubernetes.client.openapi.models.V1NodeSelectorFluent Maven / Gradle / Ivy
/*
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 V1NodeSelectorFluent> extends Fluent {
public A addToNodeSelectorTerms(Integer index, V1NodeSelectorTerm item);
public A setToNodeSelectorTerms(
java.lang.Integer index, io.kubernetes.client.openapi.models.V1NodeSelectorTerm item);
public A addToNodeSelectorTerms(io.kubernetes.client.openapi.models.V1NodeSelectorTerm... items);
public A addAllToNodeSelectorTerms(
Collection items);
public A removeFromNodeSelectorTerms(
io.kubernetes.client.openapi.models.V1NodeSelectorTerm... items);
public A removeAllFromNodeSelectorTerms(
java.util.Collection items);
public A removeMatchingFromNodeSelectorTerms(Predicate predicate);
/**
* This method has been deprecated, please use method buildNodeSelectorTerms instead.
*
* @return The buildable object.
*/
@Deprecated
public List getNodeSelectorTerms();
public java.util.List
buildNodeSelectorTerms();
public io.kubernetes.client.openapi.models.V1NodeSelectorTerm buildNodeSelectorTerm(
java.lang.Integer index);
public io.kubernetes.client.openapi.models.V1NodeSelectorTerm buildFirstNodeSelectorTerm();
public io.kubernetes.client.openapi.models.V1NodeSelectorTerm buildLastNodeSelectorTerm();
public io.kubernetes.client.openapi.models.V1NodeSelectorTerm buildMatchingNodeSelectorTerm(
java.util.function.Predicate
predicate);
public Boolean hasMatchingNodeSelectorTerm(
java.util.function.Predicate
predicate);
public A withNodeSelectorTerms(
java.util.List nodeSelectorTerms);
public A withNodeSelectorTerms(
io.kubernetes.client.openapi.models.V1NodeSelectorTerm... nodeSelectorTerms);
public java.lang.Boolean hasNodeSelectorTerms();
public V1NodeSelectorFluent.NodeSelectorTermsNested addNewNodeSelectorTerm();
public io.kubernetes.client.openapi.models.V1NodeSelectorFluent.NodeSelectorTermsNested
addNewNodeSelectorTermLike(io.kubernetes.client.openapi.models.V1NodeSelectorTerm item);
public io.kubernetes.client.openapi.models.V1NodeSelectorFluent.NodeSelectorTermsNested
setNewNodeSelectorTermLike(
java.lang.Integer index, io.kubernetes.client.openapi.models.V1NodeSelectorTerm item);
public io.kubernetes.client.openapi.models.V1NodeSelectorFluent.NodeSelectorTermsNested
editNodeSelectorTerm(java.lang.Integer index);
public io.kubernetes.client.openapi.models.V1NodeSelectorFluent.NodeSelectorTermsNested
editFirstNodeSelectorTerm();
public io.kubernetes.client.openapi.models.V1NodeSelectorFluent.NodeSelectorTermsNested
editLastNodeSelectorTerm();
public io.kubernetes.client.openapi.models.V1NodeSelectorFluent.NodeSelectorTermsNested
editMatchingNodeSelectorTerm(
java.util.function.Predicate<
io.kubernetes.client.openapi.models.V1NodeSelectorTermBuilder>
predicate);
public interface NodeSelectorTermsNested
extends Nested, V1NodeSelectorTermFluent> {
public N and();
public N endNodeSelectorTerm();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy