Package io.fabric8.kubernetes.api.model
Class EndpointsFluentImpl<A extends EndpointsFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.EndpointsFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,EndpointsFluent<A>
- Direct Known Subclasses:
BaseKubernetesListFluentImpl.EndpointsItemsNestedImpl
,EndpointsBuilder
,EndpointsListFluentImpl.ItemsNestedImpl
,KubeSchemaFluentImpl.EndpointsNestedImpl
,NamedExtensionFluentImpl.EndpointsExtensionNestedImpl
,WatchEventFluentImpl.EndpointsObjectNestedImpl
public class EndpointsFluentImpl<A extends EndpointsFluent<A>> extends BaseFluent<A> implements EndpointsFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
EndpointsFluentImpl.MetadataNestedImpl<N>
class
EndpointsFluentImpl.SubsetsNestedImpl<N>
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.EndpointsFluent
EndpointsFluent.MetadataNested<N>, EndpointsFluent.SubsetsNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description EndpointsFluentImpl()
EndpointsFluentImpl(Endpoints instance)
-
Method Summary
-
-
-
Constructor Detail
-
EndpointsFluentImpl
public EndpointsFluentImpl()
-
EndpointsFluentImpl
public EndpointsFluentImpl(Endpoints instance)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
- Specified by:
getApiVersion
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
withApiVersion
public A withApiVersion(String apiVersion)
- Specified by:
withApiVersion
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
hasApiVersion
public Boolean hasApiVersion()
- Specified by:
hasApiVersion
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(String arg1)
- Specified by:
withNewApiVersion
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuilder arg1)
- Specified by:
withNewApiVersion
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuffer arg1)
- Specified by:
withNewApiVersion
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
getKind
public String getKind()
- Specified by:
getKind
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
withKind
public A withKind(String kind)
- Specified by:
withKind
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
hasKind
public Boolean hasKind()
- Specified by:
hasKind
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
withNewKind
public A withNewKind(String arg1)
- Specified by:
withNewKind
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
withNewKind
public A withNewKind(StringBuilder arg1)
- Specified by:
withNewKind
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
withNewKind
public A withNewKind(StringBuffer arg1)
- Specified by:
withNewKind
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
getMetadata
@Deprecated public ObjectMeta getMetadata()
Deprecated.This method has been deprecated, please use method buildMetadata instead.- Specified by:
getMetadata
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
- Returns:
- The buildable object.
-
buildMetadata
public ObjectMeta buildMetadata()
- Specified by:
buildMetadata
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
withMetadata
public A withMetadata(ObjectMeta metadata)
- Specified by:
withMetadata
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
hasMetadata
public Boolean hasMetadata()
- Specified by:
hasMetadata
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
withNewMetadata
public EndpointsFluent.MetadataNested<A> withNewMetadata()
- Specified by:
withNewMetadata
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
withNewMetadataLike
public EndpointsFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
- Specified by:
withNewMetadataLike
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
editMetadata
public EndpointsFluent.MetadataNested<A> editMetadata()
- Specified by:
editMetadata
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
editOrNewMetadata
public EndpointsFluent.MetadataNested<A> editOrNewMetadata()
- Specified by:
editOrNewMetadata
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
editOrNewMetadataLike
public EndpointsFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
- Specified by:
editOrNewMetadataLike
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
addToSubsets
public A addToSubsets(int index, EndpointSubset item)
- Specified by:
addToSubsets
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
setToSubsets
public A setToSubsets(int index, EndpointSubset item)
- Specified by:
setToSubsets
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
addToSubsets
public A addToSubsets(EndpointSubset... items)
- Specified by:
addToSubsets
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
addAllToSubsets
public A addAllToSubsets(Collection<EndpointSubset> items)
- Specified by:
addAllToSubsets
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
removeFromSubsets
public A removeFromSubsets(EndpointSubset... items)
- Specified by:
removeFromSubsets
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
removeAllFromSubsets
public A removeAllFromSubsets(Collection<EndpointSubset> items)
- Specified by:
removeAllFromSubsets
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
removeMatchingFromSubsets
public A removeMatchingFromSubsets(Predicate<EndpointSubsetBuilder> predicate)
- Specified by:
removeMatchingFromSubsets
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
getSubsets
@Deprecated public List<EndpointSubset> getSubsets()
Deprecated.This method has been deprecated, please use method buildSubsets instead.- Specified by:
getSubsets
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
- Returns:
- The buildable object.
-
buildSubsets
public List<EndpointSubset> buildSubsets()
- Specified by:
buildSubsets
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
buildSubset
public EndpointSubset buildSubset(int index)
- Specified by:
buildSubset
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
buildFirstSubset
public EndpointSubset buildFirstSubset()
- Specified by:
buildFirstSubset
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
buildLastSubset
public EndpointSubset buildLastSubset()
- Specified by:
buildLastSubset
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
buildMatchingSubset
public EndpointSubset buildMatchingSubset(Predicate<EndpointSubsetBuilder> predicate)
- Specified by:
buildMatchingSubset
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
hasMatchingSubset
public Boolean hasMatchingSubset(Predicate<EndpointSubsetBuilder> predicate)
- Specified by:
hasMatchingSubset
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
withSubsets
public A withSubsets(List<EndpointSubset> subsets)
- Specified by:
withSubsets
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
withSubsets
public A withSubsets(EndpointSubset... subsets)
- Specified by:
withSubsets
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
hasSubsets
public Boolean hasSubsets()
- Specified by:
hasSubsets
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
addNewSubset
public EndpointsFluent.SubsetsNested<A> addNewSubset()
- Specified by:
addNewSubset
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
addNewSubsetLike
public EndpointsFluent.SubsetsNested<A> addNewSubsetLike(EndpointSubset item)
- Specified by:
addNewSubsetLike
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
setNewSubsetLike
public EndpointsFluent.SubsetsNested<A> setNewSubsetLike(int index, EndpointSubset item)
- Specified by:
setNewSubsetLike
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
editSubset
public EndpointsFluent.SubsetsNested<A> editSubset(int index)
- Specified by:
editSubset
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
editFirstSubset
public EndpointsFluent.SubsetsNested<A> editFirstSubset()
- Specified by:
editFirstSubset
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
editLastSubset
public EndpointsFluent.SubsetsNested<A> editLastSubset()
- Specified by:
editLastSubset
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
editMatchingSubset
public EndpointsFluent.SubsetsNested<A> editMatchingSubset(Predicate<EndpointSubsetBuilder> predicate)
- Specified by:
editMatchingSubset
in interfaceEndpointsFluent<A extends EndpointsFluent<A>>
-
-