
io.kubernetes.client.openapi.models.V1MutatingWebhookConfigurationFluent 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 V1MutatingWebhookConfigurationFluent<
A extends V1MutatingWebhookConfigurationFluent>
extends Fluent {
public String getApiVersion();
public A withApiVersion(java.lang.String apiVersion);
public Boolean hasApiVersion();
public java.lang.String getKind();
public A withKind(java.lang.String kind);
public java.lang.Boolean hasKind();
/**
* This method has been deprecated, please use method buildMetadata instead.
*
* @return The buildable object.
*/
@Deprecated
public V1ObjectMeta getMetadata();
public io.kubernetes.client.openapi.models.V1ObjectMeta buildMetadata();
public A withMetadata(io.kubernetes.client.openapi.models.V1ObjectMeta metadata);
public java.lang.Boolean hasMetadata();
public V1MutatingWebhookConfigurationFluent.MetadataNested withNewMetadata();
public V1MutatingWebhookConfigurationFluent.MetadataNested withNewMetadataLike(
io.kubernetes.client.openapi.models.V1ObjectMeta item);
public io.kubernetes.client.openapi.models.V1MutatingWebhookConfigurationFluent.MetadataNested
editMetadata();
public io.kubernetes.client.openapi.models.V1MutatingWebhookConfigurationFluent.MetadataNested
editOrNewMetadata();
public io.kubernetes.client.openapi.models.V1MutatingWebhookConfigurationFluent.MetadataNested
editOrNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item);
public A addToWebhooks(Integer index, io.kubernetes.client.openapi.models.V1MutatingWebhook item);
public A setToWebhooks(
java.lang.Integer index, io.kubernetes.client.openapi.models.V1MutatingWebhook item);
public A addToWebhooks(io.kubernetes.client.openapi.models.V1MutatingWebhook... items);
public A addAllToWebhooks(
Collection items);
public A removeFromWebhooks(io.kubernetes.client.openapi.models.V1MutatingWebhook... items);
public A removeAllFromWebhooks(
java.util.Collection items);
public A removeMatchingFromWebhooks(Predicate predicate);
/**
* This method has been deprecated, please use method buildWebhooks instead.
*
* @return The buildable object.
*/
@java.lang.Deprecated
public List getWebhooks();
public java.util.List buildWebhooks();
public io.kubernetes.client.openapi.models.V1MutatingWebhook buildWebhook(
java.lang.Integer index);
public io.kubernetes.client.openapi.models.V1MutatingWebhook buildFirstWebhook();
public io.kubernetes.client.openapi.models.V1MutatingWebhook buildLastWebhook();
public io.kubernetes.client.openapi.models.V1MutatingWebhook buildMatchingWebhook(
java.util.function.Predicate
predicate);
public java.lang.Boolean hasMatchingWebhook(
java.util.function.Predicate
predicate);
public A withWebhooks(
java.util.List webhooks);
public A withWebhooks(io.kubernetes.client.openapi.models.V1MutatingWebhook... webhooks);
public java.lang.Boolean hasWebhooks();
public V1MutatingWebhookConfigurationFluent.WebhooksNested addNewWebhook();
public io.kubernetes.client.openapi.models.V1MutatingWebhookConfigurationFluent.WebhooksNested
addNewWebhookLike(io.kubernetes.client.openapi.models.V1MutatingWebhook item);
public io.kubernetes.client.openapi.models.V1MutatingWebhookConfigurationFluent.WebhooksNested
setNewWebhookLike(
java.lang.Integer index, io.kubernetes.client.openapi.models.V1MutatingWebhook item);
public io.kubernetes.client.openapi.models.V1MutatingWebhookConfigurationFluent.WebhooksNested
editWebhook(java.lang.Integer index);
public io.kubernetes.client.openapi.models.V1MutatingWebhookConfigurationFluent.WebhooksNested
editFirstWebhook();
public io.kubernetes.client.openapi.models.V1MutatingWebhookConfigurationFluent.WebhooksNested
editLastWebhook();
public io.kubernetes.client.openapi.models.V1MutatingWebhookConfigurationFluent.WebhooksNested
editMatchingWebhook(
java.util.function.Predicate
predicate);
public interface MetadataNested
extends Nested,
V1ObjectMetaFluent> {
public N and();
public N endMetadata();
}
public interface WebhooksNested
extends io.kubernetes.client.fluent.Nested,
V1MutatingWebhookFluent> {
public N and();
public N endWebhook();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy