io.kubernetes.client.openapi.models.V1RoleFluent Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.lang.String;
import java.util.function.Predicate;
import java.lang.Integer;
import java.lang.Deprecated;
import java.util.Iterator;
import java.util.Collection;
import java.util.List;
import java.lang.Boolean;
/**
* Generated
*/
public interface V1RoleFluent> extends Fluent{
public String getApiVersion();
public A withApiVersion(String apiVersion);
public Boolean hasApiVersion();
public String getKind();
public A withKind(String kind);
public Boolean hasKind();
/**
* 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 V1RoleFluent.MetadataNested withNewMetadata();
public V1RoleFluent.MetadataNested withNewMetadataLike(V1ObjectMeta item);
public V1RoleFluent.MetadataNested editMetadata();
public V1RoleFluent.MetadataNested editOrNewMetadata();
public V1RoleFluent.MetadataNested editOrNewMetadataLike(V1ObjectMeta item);
public A addToRules(Integer index,V1PolicyRule item);
public A setToRules(Integer index,V1PolicyRule item);
public A addToRules(io.kubernetes.client.openapi.models.V1PolicyRule... items);
public A addAllToRules(Collection items);
public A removeFromRules(io.kubernetes.client.openapi.models.V1PolicyRule... items);
public A removeAllFromRules(Collection items);
public A removeMatchingFromRules(Predicate predicate);
/**
* This method has been deprecated, please use method buildRules instead.
* @return The buildable object.
*/
@Deprecated
public List getRules();
public List buildRules();
public V1PolicyRule buildRule(Integer index);
public V1PolicyRule buildFirstRule();
public V1PolicyRule buildLastRule();
public V1PolicyRule buildMatchingRule(Predicate predicate);
public Boolean hasMatchingRule(Predicate predicate);
public A withRules(List rules);
public A withRules(io.kubernetes.client.openapi.models.V1PolicyRule... rules);
public Boolean hasRules();
public V1RoleFluent.RulesNested addNewRule();
public V1RoleFluent.RulesNested addNewRuleLike(V1PolicyRule item);
public V1RoleFluent.RulesNested setNewRuleLike(Integer index,V1PolicyRule item);
public V1RoleFluent.RulesNested editRule(Integer index);
public V1RoleFluent.RulesNested editFirstRule();
public V1RoleFluent.RulesNested editLastRule();
public V1RoleFluent.RulesNested editMatchingRule(Predicate predicate);
public interface MetadataNested extends Nested,V1ObjectMetaFluent>{
public N and();
public N endMetadata();
}
public interface RulesNested extends Nested,V1PolicyRuleFluent>{
public N and();
public N endRule();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy