Package io.fabric8.kubernetes.api.model
Class APIGroupFluentImpl<A extends APIGroupFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.APIGroupFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,APIGroupFluent<A>
- Direct Known Subclasses:
APIGroupBuilder,APIGroupListFluentImpl.GroupsNestedImpl,KubeSchemaFluentImpl.APIGroupNestedImpl,WatchEventFluentImpl.APIGroupObjectNestedImpl
public class APIGroupFluentImpl<A extends APIGroupFluent<A>> extends BaseFluent<A> implements APIGroupFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classAPIGroupFluentImpl.PreferredVersionNestedImpl<N>classAPIGroupFluentImpl.ServerAddressByClientCIDRsNestedImpl<N>classAPIGroupFluentImpl.VersionsNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.APIGroupFluent
APIGroupFluent.PreferredVersionNested<N>, APIGroupFluent.ServerAddressByClientCIDRsNested<N>, APIGroupFluent.VersionsNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description APIGroupFluentImpl()APIGroupFluentImpl(APIGroup instance)
-
Method Summary
-
-
-
Constructor Detail
-
APIGroupFluentImpl
public APIGroupFluentImpl()
-
APIGroupFluentImpl
public APIGroupFluentImpl(APIGroup instance)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
- Specified by:
getApiVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withApiVersion
public A withApiVersion(String apiVersion)
- Specified by:
withApiVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
hasApiVersion
public Boolean hasApiVersion()
- Specified by:
hasApiVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(String arg1)
- Specified by:
withNewApiVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuilder arg1)
- Specified by:
withNewApiVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withNewApiVersion
public A withNewApiVersion(StringBuffer arg1)
- Specified by:
withNewApiVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
getKind
public String getKind()
- Specified by:
getKindin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withKind
public A withKind(String kind)
- Specified by:
withKindin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
hasKind
public Boolean hasKind()
- Specified by:
hasKindin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withNewKind
public A withNewKind(String arg1)
- Specified by:
withNewKindin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withNewKind
public A withNewKind(StringBuilder arg1)
- Specified by:
withNewKindin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withNewKind
public A withNewKind(StringBuffer arg1)
- Specified by:
withNewKindin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
getName
public String getName()
- Specified by:
getNamein interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withName
public A withName(String name)
- Specified by:
withNamein interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
hasName
public Boolean hasName()
- Specified by:
hasNamein interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withNewName
public A withNewName(String arg1)
- Specified by:
withNewNamein interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withNewName
public A withNewName(StringBuilder arg1)
- Specified by:
withNewNamein interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withNewName
public A withNewName(StringBuffer arg1)
- Specified by:
withNewNamein interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
getPreferredVersion
@Deprecated public GroupVersionForDiscovery getPreferredVersion()
Deprecated.This method has been deprecated, please use method buildPreferredVersion instead.- Specified by:
getPreferredVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>- Returns:
- The buildable object.
-
buildPreferredVersion
public GroupVersionForDiscovery buildPreferredVersion()
- Specified by:
buildPreferredVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withPreferredVersion
public A withPreferredVersion(GroupVersionForDiscovery preferredVersion)
- Specified by:
withPreferredVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
hasPreferredVersion
public Boolean hasPreferredVersion()
- Specified by:
hasPreferredVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withNewPreferredVersion
public A withNewPreferredVersion(String groupVersion, String version)
- Specified by:
withNewPreferredVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withNewPreferredVersion
public APIGroupFluent.PreferredVersionNested<A> withNewPreferredVersion()
- Specified by:
withNewPreferredVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withNewPreferredVersionLike
public APIGroupFluent.PreferredVersionNested<A> withNewPreferredVersionLike(GroupVersionForDiscovery item)
- Specified by:
withNewPreferredVersionLikein interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
editPreferredVersion
public APIGroupFluent.PreferredVersionNested<A> editPreferredVersion()
- Specified by:
editPreferredVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
editOrNewPreferredVersion
public APIGroupFluent.PreferredVersionNested<A> editOrNewPreferredVersion()
- Specified by:
editOrNewPreferredVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
editOrNewPreferredVersionLike
public APIGroupFluent.PreferredVersionNested<A> editOrNewPreferredVersionLike(GroupVersionForDiscovery item)
- Specified by:
editOrNewPreferredVersionLikein interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
addToServerAddressByClientCIDRs
public A addToServerAddressByClientCIDRs(int index, ServerAddressByClientCIDR item)
- Specified by:
addToServerAddressByClientCIDRsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
setToServerAddressByClientCIDRs
public A setToServerAddressByClientCIDRs(int index, ServerAddressByClientCIDR item)
- Specified by:
setToServerAddressByClientCIDRsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
addToServerAddressByClientCIDRs
public A addToServerAddressByClientCIDRs(ServerAddressByClientCIDR... items)
- Specified by:
addToServerAddressByClientCIDRsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
addAllToServerAddressByClientCIDRs
public A addAllToServerAddressByClientCIDRs(Collection<ServerAddressByClientCIDR> items)
- Specified by:
addAllToServerAddressByClientCIDRsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
removeFromServerAddressByClientCIDRs
public A removeFromServerAddressByClientCIDRs(ServerAddressByClientCIDR... items)
- Specified by:
removeFromServerAddressByClientCIDRsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
removeAllFromServerAddressByClientCIDRs
public A removeAllFromServerAddressByClientCIDRs(Collection<ServerAddressByClientCIDR> items)
- Specified by:
removeAllFromServerAddressByClientCIDRsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
removeMatchingFromServerAddressByClientCIDRs
public A removeMatchingFromServerAddressByClientCIDRs(Predicate<ServerAddressByClientCIDRBuilder> predicate)
- Specified by:
removeMatchingFromServerAddressByClientCIDRsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
getServerAddressByClientCIDRs
@Deprecated public List<ServerAddressByClientCIDR> getServerAddressByClientCIDRs()
Deprecated.This method has been deprecated, please use method buildServerAddressByClientCIDRs instead.- Specified by:
getServerAddressByClientCIDRsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>- Returns:
- The buildable object.
-
buildServerAddressByClientCIDRs
public List<ServerAddressByClientCIDR> buildServerAddressByClientCIDRs()
- Specified by:
buildServerAddressByClientCIDRsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
buildServerAddressByClientCIDR
public ServerAddressByClientCIDR buildServerAddressByClientCIDR(int index)
- Specified by:
buildServerAddressByClientCIDRin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
buildFirstServerAddressByClientCIDR
public ServerAddressByClientCIDR buildFirstServerAddressByClientCIDR()
- Specified by:
buildFirstServerAddressByClientCIDRin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
buildLastServerAddressByClientCIDR
public ServerAddressByClientCIDR buildLastServerAddressByClientCIDR()
- Specified by:
buildLastServerAddressByClientCIDRin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
buildMatchingServerAddressByClientCIDR
public ServerAddressByClientCIDR buildMatchingServerAddressByClientCIDR(Predicate<ServerAddressByClientCIDRBuilder> predicate)
- Specified by:
buildMatchingServerAddressByClientCIDRin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
hasMatchingServerAddressByClientCIDR
public Boolean hasMatchingServerAddressByClientCIDR(Predicate<ServerAddressByClientCIDRBuilder> predicate)
- Specified by:
hasMatchingServerAddressByClientCIDRin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withServerAddressByClientCIDRs
public A withServerAddressByClientCIDRs(List<ServerAddressByClientCIDR> serverAddressByClientCIDRs)
- Specified by:
withServerAddressByClientCIDRsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withServerAddressByClientCIDRs
public A withServerAddressByClientCIDRs(ServerAddressByClientCIDR... serverAddressByClientCIDRs)
- Specified by:
withServerAddressByClientCIDRsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
hasServerAddressByClientCIDRs
public Boolean hasServerAddressByClientCIDRs()
- Specified by:
hasServerAddressByClientCIDRsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
addNewServerAddressByClientCIDR
public A addNewServerAddressByClientCIDR(String clientCIDR, String serverAddress)
- Specified by:
addNewServerAddressByClientCIDRin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
addNewServerAddressByClientCIDR
public APIGroupFluent.ServerAddressByClientCIDRsNested<A> addNewServerAddressByClientCIDR()
- Specified by:
addNewServerAddressByClientCIDRin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
addNewServerAddressByClientCIDRLike
public APIGroupFluent.ServerAddressByClientCIDRsNested<A> addNewServerAddressByClientCIDRLike(ServerAddressByClientCIDR item)
- Specified by:
addNewServerAddressByClientCIDRLikein interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
setNewServerAddressByClientCIDRLike
public APIGroupFluent.ServerAddressByClientCIDRsNested<A> setNewServerAddressByClientCIDRLike(int index, ServerAddressByClientCIDR item)
- Specified by:
setNewServerAddressByClientCIDRLikein interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
editServerAddressByClientCIDR
public APIGroupFluent.ServerAddressByClientCIDRsNested<A> editServerAddressByClientCIDR(int index)
- Specified by:
editServerAddressByClientCIDRin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
editFirstServerAddressByClientCIDR
public APIGroupFluent.ServerAddressByClientCIDRsNested<A> editFirstServerAddressByClientCIDR()
- Specified by:
editFirstServerAddressByClientCIDRin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
editLastServerAddressByClientCIDR
public APIGroupFluent.ServerAddressByClientCIDRsNested<A> editLastServerAddressByClientCIDR()
- Specified by:
editLastServerAddressByClientCIDRin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
editMatchingServerAddressByClientCIDR
public APIGroupFluent.ServerAddressByClientCIDRsNested<A> editMatchingServerAddressByClientCIDR(Predicate<ServerAddressByClientCIDRBuilder> predicate)
- Specified by:
editMatchingServerAddressByClientCIDRin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
addToVersions
public A addToVersions(int index, GroupVersionForDiscovery item)
- Specified by:
addToVersionsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
setToVersions
public A setToVersions(int index, GroupVersionForDiscovery item)
- Specified by:
setToVersionsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
addToVersions
public A addToVersions(GroupVersionForDiscovery... items)
- Specified by:
addToVersionsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
addAllToVersions
public A addAllToVersions(Collection<GroupVersionForDiscovery> items)
- Specified by:
addAllToVersionsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
removeFromVersions
public A removeFromVersions(GroupVersionForDiscovery... items)
- Specified by:
removeFromVersionsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
removeAllFromVersions
public A removeAllFromVersions(Collection<GroupVersionForDiscovery> items)
- Specified by:
removeAllFromVersionsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
removeMatchingFromVersions
public A removeMatchingFromVersions(Predicate<GroupVersionForDiscoveryBuilder> predicate)
- Specified by:
removeMatchingFromVersionsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
getVersions
@Deprecated public List<GroupVersionForDiscovery> getVersions()
Deprecated.This method has been deprecated, please use method buildVersions instead.- Specified by:
getVersionsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>- Returns:
- The buildable object.
-
buildVersions
public List<GroupVersionForDiscovery> buildVersions()
- Specified by:
buildVersionsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
buildVersion
public GroupVersionForDiscovery buildVersion(int index)
- Specified by:
buildVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
buildFirstVersion
public GroupVersionForDiscovery buildFirstVersion()
- Specified by:
buildFirstVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
buildLastVersion
public GroupVersionForDiscovery buildLastVersion()
- Specified by:
buildLastVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
buildMatchingVersion
public GroupVersionForDiscovery buildMatchingVersion(Predicate<GroupVersionForDiscoveryBuilder> predicate)
- Specified by:
buildMatchingVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
hasMatchingVersion
public Boolean hasMatchingVersion(Predicate<GroupVersionForDiscoveryBuilder> predicate)
- Specified by:
hasMatchingVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withVersions
public A withVersions(List<GroupVersionForDiscovery> versions)
- Specified by:
withVersionsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
withVersions
public A withVersions(GroupVersionForDiscovery... versions)
- Specified by:
withVersionsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
hasVersions
public Boolean hasVersions()
- Specified by:
hasVersionsin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
addNewVersion
public A addNewVersion(String groupVersion, String version)
- Specified by:
addNewVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
addNewVersion
public APIGroupFluent.VersionsNested<A> addNewVersion()
- Specified by:
addNewVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
addNewVersionLike
public APIGroupFluent.VersionsNested<A> addNewVersionLike(GroupVersionForDiscovery item)
- Specified by:
addNewVersionLikein interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
setNewVersionLike
public APIGroupFluent.VersionsNested<A> setNewVersionLike(int index, GroupVersionForDiscovery item)
- Specified by:
setNewVersionLikein interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
editVersion
public APIGroupFluent.VersionsNested<A> editVersion(int index)
- Specified by:
editVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
editFirstVersion
public APIGroupFluent.VersionsNested<A> editFirstVersion()
- Specified by:
editFirstVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
editLastVersion
public APIGroupFluent.VersionsNested<A> editLastVersion()
- Specified by:
editLastVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
editMatchingVersion
public APIGroupFluent.VersionsNested<A> editMatchingVersion(Predicate<GroupVersionForDiscoveryBuilder> predicate)
- Specified by:
editMatchingVersionin interfaceAPIGroupFluent<A extends APIGroupFluent<A>>
-
-