io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent 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 V1beta1EndpointSliceFluent>
extends Fluent {
public String getAddressType();
public A withAddressType(java.lang.String addressType);
public Boolean hasAddressType();
public java.lang.String getApiVersion();
public A withApiVersion(java.lang.String apiVersion);
public java.lang.Boolean hasApiVersion();
public A addToEndpoints(Integer index, V1beta1Endpoint item);
public A setToEndpoints(
java.lang.Integer index, io.kubernetes.client.openapi.models.V1beta1Endpoint item);
public A addToEndpoints(io.kubernetes.client.openapi.models.V1beta1Endpoint... items);
public A addAllToEndpoints(Collection items);
public A removeFromEndpoints(io.kubernetes.client.openapi.models.V1beta1Endpoint... items);
public A removeAllFromEndpoints(
java.util.Collection items);
public A removeMatchingFromEndpoints(Predicate predicate);
/**
* This method has been deprecated, please use method buildEndpoints instead.
*
* @return The buildable object.
*/
@Deprecated
public List getEndpoints();
public java.util.List buildEndpoints();
public io.kubernetes.client.openapi.models.V1beta1Endpoint buildEndpoint(java.lang.Integer index);
public io.kubernetes.client.openapi.models.V1beta1Endpoint buildFirstEndpoint();
public io.kubernetes.client.openapi.models.V1beta1Endpoint buildLastEndpoint();
public io.kubernetes.client.openapi.models.V1beta1Endpoint buildMatchingEndpoint(
java.util.function.Predicate
predicate);
public java.lang.Boolean hasMatchingEndpoint(
java.util.function.Predicate
predicate);
public A withEndpoints(
java.util.List endpoints);
public A withEndpoints(io.kubernetes.client.openapi.models.V1beta1Endpoint... endpoints);
public java.lang.Boolean hasEndpoints();
public V1beta1EndpointSliceFluent.EndpointsNested addNewEndpoint();
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.EndpointsNested
addNewEndpointLike(io.kubernetes.client.openapi.models.V1beta1Endpoint item);
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.EndpointsNested
setNewEndpointLike(
java.lang.Integer index, io.kubernetes.client.openapi.models.V1beta1Endpoint item);
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.EndpointsNested
editEndpoint(java.lang.Integer index);
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.EndpointsNested
editFirstEndpoint();
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.EndpointsNested
editLastEndpoint();
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.EndpointsNested
editMatchingEndpoint(
java.util.function.Predicate
predicate);
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.
*/
@java.lang.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 V1beta1EndpointSliceFluent.MetadataNested withNewMetadata();
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.MetadataNested
withNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item);
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.MetadataNested
editMetadata();
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.MetadataNested
editOrNewMetadata();
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.MetadataNested
editOrNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item);
public A addToPorts(java.lang.Integer index, V1beta1EndpointPort item);
public A setToPorts(
java.lang.Integer index, io.kubernetes.client.openapi.models.V1beta1EndpointPort item);
public A addToPorts(io.kubernetes.client.openapi.models.V1beta1EndpointPort... items);
public A addAllToPorts(
java.util.Collection items);
public A removeFromPorts(io.kubernetes.client.openapi.models.V1beta1EndpointPort... items);
public A removeAllFromPorts(
java.util.Collection items);
public A removeMatchingFromPorts(
java.util.function.Predicate predicate);
/**
* This method has been deprecated, please use method buildPorts instead.
*
* @return The buildable object.
*/
@java.lang.Deprecated
public java.util.List getPorts();
public java.util.List buildPorts();
public io.kubernetes.client.openapi.models.V1beta1EndpointPort buildPort(java.lang.Integer index);
public io.kubernetes.client.openapi.models.V1beta1EndpointPort buildFirstPort();
public io.kubernetes.client.openapi.models.V1beta1EndpointPort buildLastPort();
public io.kubernetes.client.openapi.models.V1beta1EndpointPort buildMatchingPort(
java.util.function.Predicate
predicate);
public java.lang.Boolean hasMatchingPort(
java.util.function.Predicate
predicate);
public A withPorts(java.util.List ports);
public A withPorts(io.kubernetes.client.openapi.models.V1beta1EndpointPort... ports);
public java.lang.Boolean hasPorts();
public V1beta1EndpointSliceFluent.PortsNested addNewPort();
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.PortsNested
addNewPortLike(io.kubernetes.client.openapi.models.V1beta1EndpointPort item);
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.PortsNested
setNewPortLike(
java.lang.Integer index, io.kubernetes.client.openapi.models.V1beta1EndpointPort item);
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.PortsNested editPort(
java.lang.Integer index);
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.PortsNested
editFirstPort();
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.PortsNested
editLastPort();
public io.kubernetes.client.openapi.models.V1beta1EndpointSliceFluent.PortsNested
editMatchingPort(
java.util.function.Predicate<
io.kubernetes.client.openapi.models.V1beta1EndpointPortBuilder>
predicate);
public interface EndpointsNested
extends Nested, V1beta1EndpointFluent> {
public N and();
public N endEndpoint();
}
public interface MetadataNested
extends io.kubernetes.client.fluent.Nested,
V1ObjectMetaFluent> {
public N and();
public N endMetadata();
}
public interface PortsNested
extends io.kubernetes.client.fluent.Nested,
V1beta1EndpointPortFluent> {
public N and();
public N endPort();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy