Class V1EndpointSliceFluentImpl<A extends V1EndpointSliceFluent<A>>
java.lang.Object
io.kubernetes.client.fluent.BaseFluent<A>
io.kubernetes.client.openapi.models.V1EndpointSliceFluentImpl<A>
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,V1EndpointSliceFluent<A>
- Direct Known Subclasses:
V1EndpointSliceBuilder
public class V1EndpointSliceFluentImpl<A extends V1EndpointSliceFluent<A>>
extends BaseFluent<A>
implements V1EndpointSliceFluent<A>
Generated
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.kubernetes.client.openapi.models.V1EndpointSliceFluent
V1EndpointSliceFluent.EndpointsNested<N>, V1EndpointSliceFluent.MetadataNested<N>, V1EndpointSliceFluent.PortsNested<N>
-
Field Summary
Fields inherited from class io.kubernetes.client.fluent.BaseFluent
_visitables, VISIT
-
Constructor Summary
ConstructorsConstructorDescriptionV1EndpointSliceFluentImpl
(io.kubernetes.client.openapi.models.V1EndpointSlice instance) -
Method Summary
Modifier and TypeMethodDescriptionaddAllToEndpoints
(Collection<io.kubernetes.client.openapi.models.V1Endpoint> items) addAllToPorts
(Collection<io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort> items) addNewEndpointLike
(io.kubernetes.client.openapi.models.V1Endpoint item) addNewPortLike
(io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort item) addToEndpoints
(io.kubernetes.client.openapi.models.V1Endpoint... items) addToEndpoints
(Integer index, io.kubernetes.client.openapi.models.V1Endpoint item) addToPorts
(io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort... items) addToPorts
(Integer index, io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort item) io.kubernetes.client.openapi.models.V1Endpoint
buildEndpoint
(Integer index) List<io.kubernetes.client.openapi.models.V1Endpoint>
io.kubernetes.client.openapi.models.V1Endpoint
io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort
io.kubernetes.client.openapi.models.V1Endpoint
io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort
io.kubernetes.client.openapi.models.V1Endpoint
buildMatchingEndpoint
(Predicate<V1EndpointBuilder> predicate) io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort
buildMatchingPort
(Predicate<DiscoveryV1EndpointPortBuilder> predicate) io.kubernetes.client.openapi.models.V1ObjectMeta
io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort
List<io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort>
editEndpoint
(Integer index) editMatchingEndpoint
(Predicate<V1EndpointBuilder> predicate) editMatchingPort
(Predicate<DiscoveryV1EndpointPortBuilder> predicate) editOrNewMetadataLike
(io.kubernetes.client.openapi.models.V1ObjectMeta item) boolean
List<io.kubernetes.client.openapi.models.V1Endpoint>
Deprecated.getKind()
io.kubernetes.client.openapi.models.V1ObjectMeta
Deprecated.List<io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort>
getPorts()
Deprecated.int
hashCode()
hasKind()
hasMatchingEndpoint
(Predicate<V1EndpointBuilder> predicate) hasMatchingPort
(Predicate<DiscoveryV1EndpointPortBuilder> predicate) hasPorts()
removeAllFromEndpoints
(Collection<io.kubernetes.client.openapi.models.V1Endpoint> items) removeAllFromPorts
(Collection<io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort> items) removeFromEndpoints
(io.kubernetes.client.openapi.models.V1Endpoint... items) removeFromPorts
(io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort... items) removeMatchingFromEndpoints
(Predicate<V1EndpointBuilder> predicate) setNewEndpointLike
(Integer index, io.kubernetes.client.openapi.models.V1Endpoint item) setNewPortLike
(Integer index, io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort item) setToEndpoints
(Integer index, io.kubernetes.client.openapi.models.V1Endpoint item) setToPorts
(Integer index, io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort item) toString()
withAddressType
(String addressType) withApiVersion
(String apiVersion) withEndpoints
(io.kubernetes.client.openapi.models.V1Endpoint... endpoints) withEndpoints
(List<io.kubernetes.client.openapi.models.V1Endpoint> endpoints) withMetadata
(io.kubernetes.client.openapi.models.V1ObjectMeta metadata) withNewMetadataLike
(io.kubernetes.client.openapi.models.V1ObjectMeta item) withPorts
(io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort... ports) Methods inherited from class io.kubernetes.client.fluent.BaseFluent
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOf
-
Constructor Details
-
V1EndpointSliceFluentImpl
public V1EndpointSliceFluentImpl() -
V1EndpointSliceFluentImpl
public V1EndpointSliceFluentImpl(io.kubernetes.client.openapi.models.V1EndpointSlice instance)
-
-
Method Details
-
getAddressType
- Specified by:
getAddressType
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
withAddressType
- Specified by:
withAddressType
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
hasAddressType
- Specified by:
hasAddressType
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
getApiVersion
- Specified by:
getApiVersion
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
withApiVersion
- Specified by:
withApiVersion
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
hasApiVersion
- Specified by:
hasApiVersion
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
addToEndpoints
- Specified by:
addToEndpoints
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
setToEndpoints
- Specified by:
setToEndpoints
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
addToEndpoints
- Specified by:
addToEndpoints
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
addAllToEndpoints
- Specified by:
addAllToEndpoints
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
removeFromEndpoints
- Specified by:
removeFromEndpoints
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
removeAllFromEndpoints
- Specified by:
removeAllFromEndpoints
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
removeMatchingFromEndpoints
- Specified by:
removeMatchingFromEndpoints
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
getEndpoints
Deprecated.This method has been deprecated, please use method buildEndpoints instead.- Specified by:
getEndpoints
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
- Returns:
- The buildable object.
-
buildEndpoints
- Specified by:
buildEndpoints
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
buildEndpoint
- Specified by:
buildEndpoint
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
buildFirstEndpoint
public io.kubernetes.client.openapi.models.V1Endpoint buildFirstEndpoint()- Specified by:
buildFirstEndpoint
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
buildLastEndpoint
public io.kubernetes.client.openapi.models.V1Endpoint buildLastEndpoint()- Specified by:
buildLastEndpoint
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
buildMatchingEndpoint
public io.kubernetes.client.openapi.models.V1Endpoint buildMatchingEndpoint(Predicate<V1EndpointBuilder> predicate) - Specified by:
buildMatchingEndpoint
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
hasMatchingEndpoint
- Specified by:
hasMatchingEndpoint
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
withEndpoints
- Specified by:
withEndpoints
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
withEndpoints
- Specified by:
withEndpoints
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
hasEndpoints
- Specified by:
hasEndpoints
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
addNewEndpoint
- Specified by:
addNewEndpoint
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
addNewEndpointLike
public V1EndpointSliceFluent.EndpointsNested<A> addNewEndpointLike(io.kubernetes.client.openapi.models.V1Endpoint item) - Specified by:
addNewEndpointLike
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
setNewEndpointLike
public V1EndpointSliceFluent.EndpointsNested<A> setNewEndpointLike(Integer index, io.kubernetes.client.openapi.models.V1Endpoint item) - Specified by:
setNewEndpointLike
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
editEndpoint
- Specified by:
editEndpoint
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
editFirstEndpoint
- Specified by:
editFirstEndpoint
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
editLastEndpoint
- Specified by:
editLastEndpoint
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
editMatchingEndpoint
public V1EndpointSliceFluent.EndpointsNested<A> editMatchingEndpoint(Predicate<V1EndpointBuilder> predicate) - Specified by:
editMatchingEndpoint
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
getKind
- Specified by:
getKind
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
withKind
- Specified by:
withKind
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
hasKind
- Specified by:
hasKind
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
getMetadata
Deprecated.This method has been deprecated, please use method buildMetadata instead.- Specified by:
getMetadata
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
- Returns:
- The buildable object.
-
buildMetadata
public io.kubernetes.client.openapi.models.V1ObjectMeta buildMetadata()- Specified by:
buildMetadata
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
withMetadata
- Specified by:
withMetadata
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
hasMetadata
- Specified by:
hasMetadata
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
withNewMetadata
- Specified by:
withNewMetadata
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
withNewMetadataLike
public V1EndpointSliceFluent.MetadataNested<A> withNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item) - Specified by:
withNewMetadataLike
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
editMetadata
- Specified by:
editMetadata
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
editOrNewMetadata
- Specified by:
editOrNewMetadata
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
editOrNewMetadataLike
public V1EndpointSliceFluent.MetadataNested<A> editOrNewMetadataLike(io.kubernetes.client.openapi.models.V1ObjectMeta item) - Specified by:
editOrNewMetadataLike
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
addToPorts
public A addToPorts(Integer index, io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort item) - Specified by:
addToPorts
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
setToPorts
public A setToPorts(Integer index, io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort item) - Specified by:
setToPorts
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
addToPorts
- Specified by:
addToPorts
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
addAllToPorts
public A addAllToPorts(Collection<io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort> items) - Specified by:
addAllToPorts
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
removeFromPorts
- Specified by:
removeFromPorts
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
removeAllFromPorts
public A removeAllFromPorts(Collection<io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort> items) - Specified by:
removeAllFromPorts
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
removeMatchingFromPorts
- Specified by:
removeMatchingFromPorts
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
getPorts
Deprecated.This method has been deprecated, please use method buildPorts instead.- Specified by:
getPorts
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
- Returns:
- The buildable object.
-
buildPorts
- Specified by:
buildPorts
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
buildPort
- Specified by:
buildPort
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
buildFirstPort
public io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort buildFirstPort()- Specified by:
buildFirstPort
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
buildLastPort
public io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort buildLastPort()- Specified by:
buildLastPort
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
buildMatchingPort
public io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort buildMatchingPort(Predicate<DiscoveryV1EndpointPortBuilder> predicate) - Specified by:
buildMatchingPort
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
hasMatchingPort
- Specified by:
hasMatchingPort
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
withPorts
- Specified by:
withPorts
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
withPorts
- Specified by:
withPorts
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
hasPorts
- Specified by:
hasPorts
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
addNewPort
- Specified by:
addNewPort
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
addNewPortLike
public V1EndpointSliceFluent.PortsNested<A> addNewPortLike(io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort item) - Specified by:
addNewPortLike
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
setNewPortLike
public V1EndpointSliceFluent.PortsNested<A> setNewPortLike(Integer index, io.kubernetes.client.openapi.models.DiscoveryV1EndpointPort item) - Specified by:
setNewPortLike
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
editPort
- Specified by:
editPort
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
editFirstPort
- Specified by:
editFirstPort
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
editLastPort
- Specified by:
editLastPort
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
editMatchingPort
public V1EndpointSliceFluent.PortsNested<A> editMatchingPort(Predicate<DiscoveryV1EndpointPortBuilder> predicate) - Specified by:
editMatchingPort
in interfaceV1EndpointSliceFluent<A extends V1EndpointSliceFluent<A>>
-
equals
- Overrides:
equals
in classBaseFluent<A extends V1EndpointSliceFluent<A>>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseFluent<A extends V1EndpointSliceFluent<A>>
-
toString
-