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

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

/** Generated */
public interface V1ObjectMetaFluent> extends Fluent {
  public A addToAnnotations(String key, java.lang.String value);

  public A addToAnnotations(Map map);

  public A removeFromAnnotations(java.lang.String key);

  public A removeFromAnnotations(java.util.Map map);

  public java.util.Map getAnnotations();

  public  A withAnnotations(java.util.Map annotations);

  public Boolean hasAnnotations();

  public java.lang.String getClusterName();

  public A withClusterName(java.lang.String clusterName);

  public java.lang.Boolean hasClusterName();

  public OffsetDateTime getCreationTimestamp();

  public A withCreationTimestamp(java.time.OffsetDateTime creationTimestamp);

  public java.lang.Boolean hasCreationTimestamp();

  public Long getDeletionGracePeriodSeconds();

  public A withDeletionGracePeriodSeconds(java.lang.Long deletionGracePeriodSeconds);

  public java.lang.Boolean hasDeletionGracePeriodSeconds();

  public java.time.OffsetDateTime getDeletionTimestamp();

  public A withDeletionTimestamp(java.time.OffsetDateTime deletionTimestamp);

  public java.lang.Boolean hasDeletionTimestamp();

  public A addToFinalizers(Integer index, java.lang.String item);

  public A setToFinalizers(java.lang.Integer index, java.lang.String item);

  public A addToFinalizers(java.lang.String... items);

  public A addAllToFinalizers(Collection items);

  public A removeFromFinalizers(java.lang.String... items);

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

  public List getFinalizers();

  public java.lang.String getFinalizer(java.lang.Integer index);

  public java.lang.String getFirstFinalizer();

  public java.lang.String getLastFinalizer();

  public java.lang.String getMatchingFinalizer(Predicate predicate);

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

  public A withFinalizers(java.util.List finalizers);

  public A withFinalizers(java.lang.String... finalizers);

  public java.lang.Boolean hasFinalizers();

  public java.lang.String getGenerateName();

  public A withGenerateName(java.lang.String generateName);

  public java.lang.Boolean hasGenerateName();

  public java.lang.Long getGeneration();

  public A withGeneration(java.lang.Long generation);

  public java.lang.Boolean hasGeneration();

  public A addToLabels(java.lang.String key, java.lang.String value);

  public A addToLabels(java.util.Map map);

  public A removeFromLabels(java.lang.String key);

  public A removeFromLabels(java.util.Map map);

  public java.util.Map getLabels();

  public  A withLabels(java.util.Map labels);

  public java.lang.Boolean hasLabels();

  public A addToManagedFields(java.lang.Integer index, V1ManagedFieldsEntry item);

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

  public A addToManagedFields(io.kubernetes.client.openapi.models.V1ManagedFieldsEntry... items);

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

  public A removeFromManagedFields(
      io.kubernetes.client.openapi.models.V1ManagedFieldsEntry... items);

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

  public A removeMatchingFromManagedFields(
      java.util.function.Predicate predicate);

  /**
   * This method has been deprecated, please use method buildManagedFields instead.
   *
   * @return The buildable object.
   */
  @Deprecated
  public java.util.List
      getManagedFields();

  public java.util.List
      buildManagedFields();

  public io.kubernetes.client.openapi.models.V1ManagedFieldsEntry buildManagedField(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1ManagedFieldsEntry buildFirstManagedField();

  public io.kubernetes.client.openapi.models.V1ManagedFieldsEntry buildLastManagedField();

  public io.kubernetes.client.openapi.models.V1ManagedFieldsEntry buildMatchingManagedField(
      java.util.function.Predicate
          predicate);

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

  public A withManagedFields(
      java.util.List managedFields);

  public A withManagedFields(
      io.kubernetes.client.openapi.models.V1ManagedFieldsEntry... managedFields);

  public java.lang.Boolean hasManagedFields();

  public V1ObjectMetaFluent.ManagedFieldsNested addNewManagedField();

  public io.kubernetes.client.openapi.models.V1ObjectMetaFluent.ManagedFieldsNested
      addNewManagedFieldLike(io.kubernetes.client.openapi.models.V1ManagedFieldsEntry item);

  public io.kubernetes.client.openapi.models.V1ObjectMetaFluent.ManagedFieldsNested
      setNewManagedFieldLike(
          java.lang.Integer index, io.kubernetes.client.openapi.models.V1ManagedFieldsEntry item);

  public io.kubernetes.client.openapi.models.V1ObjectMetaFluent.ManagedFieldsNested
      editManagedField(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1ObjectMetaFluent.ManagedFieldsNested
      editFirstManagedField();

  public io.kubernetes.client.openapi.models.V1ObjectMetaFluent.ManagedFieldsNested
      editLastManagedField();

  public io.kubernetes.client.openapi.models.V1ObjectMetaFluent.ManagedFieldsNested
      editMatchingManagedField(
          java.util.function.Predicate<
                  io.kubernetes.client.openapi.models.V1ManagedFieldsEntryBuilder>
              predicate);

  public java.lang.String getName();

  public A withName(java.lang.String name);

  public java.lang.Boolean hasName();

  public java.lang.String getNamespace();

  public A withNamespace(java.lang.String namespace);

  public java.lang.Boolean hasNamespace();

  public A addToOwnerReferences(java.lang.Integer index, V1OwnerReference item);

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

  public A addToOwnerReferences(io.kubernetes.client.openapi.models.V1OwnerReference... items);

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

  public A removeFromOwnerReferences(io.kubernetes.client.openapi.models.V1OwnerReference... items);

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

  public A removeMatchingFromOwnerReferences(
      java.util.function.Predicate predicate);

  /**
   * This method has been deprecated, please use method buildOwnerReferences instead.
   *
   * @return The buildable object.
   */
  @java.lang.Deprecated
  public java.util.List getOwnerReferences();

  public java.util.List
      buildOwnerReferences();

  public io.kubernetes.client.openapi.models.V1OwnerReference buildOwnerReference(
      java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1OwnerReference buildFirstOwnerReference();

  public io.kubernetes.client.openapi.models.V1OwnerReference buildLastOwnerReference();

  public io.kubernetes.client.openapi.models.V1OwnerReference buildMatchingOwnerReference(
      java.util.function.Predicate
          predicate);

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

  public A withOwnerReferences(
      java.util.List ownerReferences);

  public A withOwnerReferences(
      io.kubernetes.client.openapi.models.V1OwnerReference... ownerReferences);

  public java.lang.Boolean hasOwnerReferences();

  public V1ObjectMetaFluent.OwnerReferencesNested addNewOwnerReference();

  public io.kubernetes.client.openapi.models.V1ObjectMetaFluent.OwnerReferencesNested
      addNewOwnerReferenceLike(io.kubernetes.client.openapi.models.V1OwnerReference item);

  public io.kubernetes.client.openapi.models.V1ObjectMetaFluent.OwnerReferencesNested
      setNewOwnerReferenceLike(
          java.lang.Integer index, io.kubernetes.client.openapi.models.V1OwnerReference item);

  public io.kubernetes.client.openapi.models.V1ObjectMetaFluent.OwnerReferencesNested
      editOwnerReference(java.lang.Integer index);

  public io.kubernetes.client.openapi.models.V1ObjectMetaFluent.OwnerReferencesNested
      editFirstOwnerReference();

  public io.kubernetes.client.openapi.models.V1ObjectMetaFluent.OwnerReferencesNested
      editLastOwnerReference();

  public io.kubernetes.client.openapi.models.V1ObjectMetaFluent.OwnerReferencesNested
      editMatchingOwnerReference(
          java.util.function.Predicate
              predicate);

  public java.lang.String getResourceVersion();

  public A withResourceVersion(java.lang.String resourceVersion);

  public java.lang.Boolean hasResourceVersion();

  public java.lang.String getSelfLink();

  public A withSelfLink(java.lang.String selfLink);

  public java.lang.Boolean hasSelfLink();

  public java.lang.String getUid();

  public A withUid(java.lang.String uid);

  public java.lang.Boolean hasUid();

  public interface ManagedFieldsNested
      extends Nested, V1ManagedFieldsEntryFluent> {
    public N and();

    public N endManagedField();
  }

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

    public N endOwnerReference();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy