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

io.kubernetes.client.openapi.models.V1beta1SubjectFluent 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 V1beta1SubjectFluent> extends Fluent {

  /**
   * This method has been deprecated, please use method buildGroup instead.
   *
   * @return The buildable object.
   */
  @Deprecated
  public V1beta1GroupSubject getGroup();

  public io.kubernetes.client.openapi.models.V1beta1GroupSubject buildGroup();

  public A withGroup(io.kubernetes.client.openapi.models.V1beta1GroupSubject group);

  public Boolean hasGroup();

  public V1beta1SubjectFluent.GroupNested withNewGroup();

  public io.kubernetes.client.openapi.models.V1beta1SubjectFluent.GroupNested withNewGroupLike(
      io.kubernetes.client.openapi.models.V1beta1GroupSubject item);

  public io.kubernetes.client.openapi.models.V1beta1SubjectFluent.GroupNested editGroup();

  public io.kubernetes.client.openapi.models.V1beta1SubjectFluent.GroupNested editOrNewGroup();

  public io.kubernetes.client.openapi.models.V1beta1SubjectFluent.GroupNested editOrNewGroupLike(
      io.kubernetes.client.openapi.models.V1beta1GroupSubject item);

  public String getKind();

  public A withKind(java.lang.String kind);

  public java.lang.Boolean hasKind();

  /**
   * This method has been deprecated, please use method buildServiceAccount instead.
   *
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public V1beta1ServiceAccountSubject getServiceAccount();

  public io.kubernetes.client.openapi.models.V1beta1ServiceAccountSubject buildServiceAccount();

  public A withServiceAccount(
      io.kubernetes.client.openapi.models.V1beta1ServiceAccountSubject serviceAccount);

  public java.lang.Boolean hasServiceAccount();

  public V1beta1SubjectFluent.ServiceAccountNested withNewServiceAccount();

  public io.kubernetes.client.openapi.models.V1beta1SubjectFluent.ServiceAccountNested
      withNewServiceAccountLike(
          io.kubernetes.client.openapi.models.V1beta1ServiceAccountSubject item);

  public io.kubernetes.client.openapi.models.V1beta1SubjectFluent.ServiceAccountNested
      editServiceAccount();

  public io.kubernetes.client.openapi.models.V1beta1SubjectFluent.ServiceAccountNested
      editOrNewServiceAccount();

  public io.kubernetes.client.openapi.models.V1beta1SubjectFluent.ServiceAccountNested
      editOrNewServiceAccountLike(
          io.kubernetes.client.openapi.models.V1beta1ServiceAccountSubject item);

  /**
   * This method has been deprecated, please use method buildUser instead.
   *
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public V1beta1UserSubject getUser();

  public io.kubernetes.client.openapi.models.V1beta1UserSubject buildUser();

  public A withUser(io.kubernetes.client.openapi.models.V1beta1UserSubject user);

  public java.lang.Boolean hasUser();

  public V1beta1SubjectFluent.UserNested withNewUser();

  public io.kubernetes.client.openapi.models.V1beta1SubjectFluent.UserNested withNewUserLike(
      io.kubernetes.client.openapi.models.V1beta1UserSubject item);

  public io.kubernetes.client.openapi.models.V1beta1SubjectFluent.UserNested editUser();

  public io.kubernetes.client.openapi.models.V1beta1SubjectFluent.UserNested editOrNewUser();

  public io.kubernetes.client.openapi.models.V1beta1SubjectFluent.UserNested editOrNewUserLike(
      io.kubernetes.client.openapi.models.V1beta1UserSubject item);

  public interface GroupNested
      extends Nested, V1beta1GroupSubjectFluent> {
    public N and();

    public N endGroup();
  }

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

    public N endServiceAccount();
  }

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

    public N endUser();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy