io.alauda.devops.api.model.ServiceAccountRestrictionFluent Maven / Gradle / Ivy
package io.alauda.devops.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.Fluent;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.String;
import io.alauda.kubernetes.api.builder.Predicate;
import java.lang.Deprecated;
import javax.validation.Valid;
import java.util.Collection;
import java.lang.Object;
import java.util.List;
import java.lang.Boolean;
import java.util.Map;
public interface ServiceAccountRestrictionFluent> extends Fluent{
public A addToNamespaces(int index,String item);
public A setToNamespaces(int index,String item);
public A addToNamespaces(String... items);
public A addAllToNamespaces(Collection items);
public A removeFromNamespaces(String... items);
public A removeAllFromNamespaces(Collection items);
public List getNamespaces();
public String getNamespace(int index);
public String getFirstNamespace();
public String getLastNamespace();
public String getMatchingNamespace(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withNamespaces(List namespaces);
public A withNamespaces(String... namespaces);
public Boolean hasNamespaces();
public A addToServiceaccounts(int index,ServiceAccountReference item);
public A setToServiceaccounts(int index,ServiceAccountReference item);
public A addToServiceaccounts(ServiceAccountReference... items);
public A addAllToServiceaccounts(Collection items);
public A removeFromServiceaccounts(ServiceAccountReference... items);
public A removeAllFromServiceaccounts(Collection items);
/**
* This method has been deprecated, please use method buildServiceaccounts instead.
*/
@Deprecated public List getServiceaccounts();
public List buildServiceaccounts();
public ServiceAccountReference buildServiceaccount(int index);
public ServiceAccountReference buildFirstServiceaccount();
public ServiceAccountReference buildLastServiceaccount();
public ServiceAccountReference buildMatchingServiceaccount(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withServiceaccounts(List serviceaccounts);
public A withServiceaccounts(ServiceAccountReference... serviceaccounts);
public Boolean hasServiceaccounts();
public ServiceAccountRestrictionFluent.ServiceaccountsNested addNewServiceaccount();
public ServiceAccountRestrictionFluent.ServiceaccountsNested addNewServiceaccountLike(ServiceAccountReference item);
public ServiceAccountRestrictionFluent.ServiceaccountsNested setNewServiceaccountLike(int index,ServiceAccountReference item);
public ServiceAccountRestrictionFluent.ServiceaccountsNested editServiceaccount(int index);
public ServiceAccountRestrictionFluent.ServiceaccountsNested editFirstServiceaccount();
public ServiceAccountRestrictionFluent.ServiceaccountsNested editLastServiceaccount();
public ServiceAccountRestrictionFluent.ServiceaccountsNested editMatchingServiceaccount(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addNewServiceaccount(String name,String namespace);
public interface ServiceaccountsNested extends io.alauda.kubernetes.api.builder.Nested,ServiceAccountReferenceFluent>{
public N and(); public N endServiceaccount();
}
}