Class V1PodSecurityContextFluentImpl<A extends V1PodSecurityContextFluent<A>>
java.lang.Object
io.kubernetes.client.fluent.BaseFluent<A>
io.kubernetes.client.openapi.models.V1PodSecurityContextFluentImpl<A>
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,V1PodSecurityContextFluent<A>
- Direct Known Subclasses:
V1PodSecurityContextBuilder
public class V1PodSecurityContextFluentImpl<A extends V1PodSecurityContextFluent<A>>
extends BaseFluent<A>
implements V1PodSecurityContextFluent<A>
Generated
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.kubernetes.client.openapi.models.V1PodSecurityContextFluent
V1PodSecurityContextFluent.SeccompProfileNested<N>, V1PodSecurityContextFluent.SeLinuxOptionsNested<N>, V1PodSecurityContextFluent.SysctlsNested<N>, V1PodSecurityContextFluent.WindowsOptionsNested<N>
-
Field Summary
Fields inherited from class io.kubernetes.client.fluent.BaseFluent
_visitables, VISIT
-
Constructor Summary
ConstructorsConstructorDescriptionV1PodSecurityContextFluentImpl
(io.kubernetes.client.openapi.models.V1PodSecurityContext instance) -
Method Summary
Modifier and TypeMethodDescriptionaddAllToSupplementalGroups
(Collection<Long> items) addAllToSysctls
(Collection<io.kubernetes.client.openapi.models.V1Sysctl> items) addNewSysctlLike
(io.kubernetes.client.openapi.models.V1Sysctl item) addToSupplementalGroups
(Integer index, Long item) addToSupplementalGroups
(Long... items) addToSysctls
(io.kubernetes.client.openapi.models.V1Sysctl... items) addToSysctls
(Integer index, io.kubernetes.client.openapi.models.V1Sysctl item) io.kubernetes.client.openapi.models.V1Sysctl
io.kubernetes.client.openapi.models.V1Sysctl
io.kubernetes.client.openapi.models.V1Sysctl
buildMatchingSysctl
(Predicate<V1SysctlBuilder> predicate) io.kubernetes.client.openapi.models.V1SeccompProfile
io.kubernetes.client.openapi.models.V1SELinuxOptions
io.kubernetes.client.openapi.models.V1Sysctl
buildSysctl
(Integer index) List<io.kubernetes.client.openapi.models.V1Sysctl>
io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions
editMatchingSysctl
(Predicate<V1SysctlBuilder> predicate) editOrNewSeccompProfileLike
(io.kubernetes.client.openapi.models.V1SeccompProfile item) editOrNewSeLinuxOptionsLike
(io.kubernetes.client.openapi.models.V1SELinuxOptions item) editOrNewWindowsOptionsLike
(io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions item) editSysctl
(Integer index) boolean
getMatchingSupplementalGroup
(Predicate<Long> predicate) io.kubernetes.client.openapi.models.V1SeccompProfile
Deprecated.io.kubernetes.client.openapi.models.V1SELinuxOptions
Deprecated.getSupplementalGroup
(Integer index) List<io.kubernetes.client.openapi.models.V1Sysctl>
Deprecated.io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions
Deprecated.int
hashCode()
hasMatchingSupplementalGroup
(Predicate<Long> predicate) hasMatchingSysctl
(Predicate<V1SysctlBuilder> predicate) removeAllFromSysctls
(Collection<io.kubernetes.client.openapi.models.V1Sysctl> items) removeFromSupplementalGroups
(Long... items) removeFromSysctls
(io.kubernetes.client.openapi.models.V1Sysctl... items) removeMatchingFromSysctls
(Predicate<V1SysctlBuilder> predicate) setNewSysctlLike
(Integer index, io.kubernetes.client.openapi.models.V1Sysctl item) setToSupplementalGroups
(Integer index, Long item) setToSysctls
(Integer index, io.kubernetes.client.openapi.models.V1Sysctl item) toString()
withFsGroup
(Long fsGroup) withFsGroupChangePolicy
(String fsGroupChangePolicy) withNewSeccompProfileLike
(io.kubernetes.client.openapi.models.V1SeccompProfile item) withNewSeLinuxOptionsLike
(io.kubernetes.client.openapi.models.V1SELinuxOptions item) withNewWindowsOptionsLike
(io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions item) withRunAsGroup
(Long runAsGroup) withRunAsNonRoot
(Boolean runAsNonRoot) withRunAsUser
(Long runAsUser) withSeccompProfile
(io.kubernetes.client.openapi.models.V1SeccompProfile seccompProfile) withSeLinuxOptions
(io.kubernetes.client.openapi.models.V1SELinuxOptions seLinuxOptions) withSupplementalGroups
(Long... supplementalGroups) withSupplementalGroups
(List<Long> supplementalGroups) withSysctls
(io.kubernetes.client.openapi.models.V1Sysctl... sysctls) withSysctls
(List<io.kubernetes.client.openapi.models.V1Sysctl> sysctls) withWindowsOptions
(io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions windowsOptions) Methods inherited from class io.kubernetes.client.fluent.BaseFluent
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOf
-
Constructor Details
-
V1PodSecurityContextFluentImpl
public V1PodSecurityContextFluentImpl() -
V1PodSecurityContextFluentImpl
public V1PodSecurityContextFluentImpl(io.kubernetes.client.openapi.models.V1PodSecurityContext instance)
-
-
Method Details
-
getFsGroup
- Specified by:
getFsGroup
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withFsGroup
- Specified by:
withFsGroup
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
hasFsGroup
- Specified by:
hasFsGroup
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
getFsGroupChangePolicy
- Specified by:
getFsGroupChangePolicy
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withFsGroupChangePolicy
- Specified by:
withFsGroupChangePolicy
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
hasFsGroupChangePolicy
- Specified by:
hasFsGroupChangePolicy
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
getRunAsGroup
- Specified by:
getRunAsGroup
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withRunAsGroup
- Specified by:
withRunAsGroup
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
hasRunAsGroup
- Specified by:
hasRunAsGroup
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
getRunAsNonRoot
- Specified by:
getRunAsNonRoot
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withRunAsNonRoot
- Specified by:
withRunAsNonRoot
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
hasRunAsNonRoot
- Specified by:
hasRunAsNonRoot
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
getRunAsUser
- Specified by:
getRunAsUser
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withRunAsUser
- Specified by:
withRunAsUser
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
hasRunAsUser
- Specified by:
hasRunAsUser
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
getSeLinuxOptions
Deprecated.This method has been deprecated, please use method buildSeLinuxOptions instead.- Specified by:
getSeLinuxOptions
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
- Returns:
- The buildable object.
-
buildSeLinuxOptions
public io.kubernetes.client.openapi.models.V1SELinuxOptions buildSeLinuxOptions()- Specified by:
buildSeLinuxOptions
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withSeLinuxOptions
- Specified by:
withSeLinuxOptions
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
hasSeLinuxOptions
- Specified by:
hasSeLinuxOptions
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withNewSeLinuxOptions
- Specified by:
withNewSeLinuxOptions
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withNewSeLinuxOptionsLike
public V1PodSecurityContextFluent.SeLinuxOptionsNested<A> withNewSeLinuxOptionsLike(io.kubernetes.client.openapi.models.V1SELinuxOptions item) - Specified by:
withNewSeLinuxOptionsLike
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
editSeLinuxOptions
- Specified by:
editSeLinuxOptions
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
editOrNewSeLinuxOptions
- Specified by:
editOrNewSeLinuxOptions
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
editOrNewSeLinuxOptionsLike
public V1PodSecurityContextFluent.SeLinuxOptionsNested<A> editOrNewSeLinuxOptionsLike(io.kubernetes.client.openapi.models.V1SELinuxOptions item) - Specified by:
editOrNewSeLinuxOptionsLike
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
getSeccompProfile
Deprecated.This method has been deprecated, please use method buildSeccompProfile instead.- Specified by:
getSeccompProfile
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
- Returns:
- The buildable object.
-
buildSeccompProfile
public io.kubernetes.client.openapi.models.V1SeccompProfile buildSeccompProfile()- Specified by:
buildSeccompProfile
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withSeccompProfile
- Specified by:
withSeccompProfile
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
hasSeccompProfile
- Specified by:
hasSeccompProfile
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withNewSeccompProfile
- Specified by:
withNewSeccompProfile
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withNewSeccompProfileLike
public V1PodSecurityContextFluent.SeccompProfileNested<A> withNewSeccompProfileLike(io.kubernetes.client.openapi.models.V1SeccompProfile item) - Specified by:
withNewSeccompProfileLike
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
editSeccompProfile
- Specified by:
editSeccompProfile
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
editOrNewSeccompProfile
- Specified by:
editOrNewSeccompProfile
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
editOrNewSeccompProfileLike
public V1PodSecurityContextFluent.SeccompProfileNested<A> editOrNewSeccompProfileLike(io.kubernetes.client.openapi.models.V1SeccompProfile item) - Specified by:
editOrNewSeccompProfileLike
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
addToSupplementalGroups
- Specified by:
addToSupplementalGroups
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
setToSupplementalGroups
- Specified by:
setToSupplementalGroups
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
addToSupplementalGroups
- Specified by:
addToSupplementalGroups
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
addAllToSupplementalGroups
- Specified by:
addAllToSupplementalGroups
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
removeFromSupplementalGroups
- Specified by:
removeFromSupplementalGroups
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
removeAllFromSupplementalGroups
- Specified by:
removeAllFromSupplementalGroups
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
getSupplementalGroups
- Specified by:
getSupplementalGroups
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
getSupplementalGroup
- Specified by:
getSupplementalGroup
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
getFirstSupplementalGroup
- Specified by:
getFirstSupplementalGroup
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
getLastSupplementalGroup
- Specified by:
getLastSupplementalGroup
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
getMatchingSupplementalGroup
- Specified by:
getMatchingSupplementalGroup
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
hasMatchingSupplementalGroup
- Specified by:
hasMatchingSupplementalGroup
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withSupplementalGroups
- Specified by:
withSupplementalGroups
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withSupplementalGroups
- Specified by:
withSupplementalGroups
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
hasSupplementalGroups
- Specified by:
hasSupplementalGroups
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
addToSysctls
- Specified by:
addToSysctls
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
setToSysctls
- Specified by:
setToSysctls
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
addToSysctls
- Specified by:
addToSysctls
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
addAllToSysctls
- Specified by:
addAllToSysctls
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
removeFromSysctls
- Specified by:
removeFromSysctls
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
removeAllFromSysctls
- Specified by:
removeAllFromSysctls
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
removeMatchingFromSysctls
- Specified by:
removeMatchingFromSysctls
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
getSysctls
Deprecated.This method has been deprecated, please use method buildSysctls instead.- Specified by:
getSysctls
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
- Returns:
- The buildable object.
-
buildSysctls
- Specified by:
buildSysctls
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
buildSysctl
- Specified by:
buildSysctl
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
buildFirstSysctl
public io.kubernetes.client.openapi.models.V1Sysctl buildFirstSysctl()- Specified by:
buildFirstSysctl
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
buildLastSysctl
public io.kubernetes.client.openapi.models.V1Sysctl buildLastSysctl()- Specified by:
buildLastSysctl
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
buildMatchingSysctl
public io.kubernetes.client.openapi.models.V1Sysctl buildMatchingSysctl(Predicate<V1SysctlBuilder> predicate) - Specified by:
buildMatchingSysctl
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
hasMatchingSysctl
- Specified by:
hasMatchingSysctl
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withSysctls
- Specified by:
withSysctls
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withSysctls
- Specified by:
withSysctls
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
hasSysctls
- Specified by:
hasSysctls
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
addNewSysctl
- Specified by:
addNewSysctl
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
addNewSysctlLike
public V1PodSecurityContextFluent.SysctlsNested<A> addNewSysctlLike(io.kubernetes.client.openapi.models.V1Sysctl item) - Specified by:
addNewSysctlLike
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
setNewSysctlLike
public V1PodSecurityContextFluent.SysctlsNested<A> setNewSysctlLike(Integer index, io.kubernetes.client.openapi.models.V1Sysctl item) - Specified by:
setNewSysctlLike
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
editSysctl
- Specified by:
editSysctl
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
editFirstSysctl
- Specified by:
editFirstSysctl
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
editLastSysctl
- Specified by:
editLastSysctl
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
editMatchingSysctl
public V1PodSecurityContextFluent.SysctlsNested<A> editMatchingSysctl(Predicate<V1SysctlBuilder> predicate) - Specified by:
editMatchingSysctl
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
getWindowsOptions
@Deprecated public io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions getWindowsOptions()Deprecated.This method has been deprecated, please use method buildWindowsOptions instead.- Specified by:
getWindowsOptions
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
- Returns:
- The buildable object.
-
buildWindowsOptions
public io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions buildWindowsOptions()- Specified by:
buildWindowsOptions
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withWindowsOptions
public A withWindowsOptions(io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions windowsOptions) - Specified by:
withWindowsOptions
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
hasWindowsOptions
- Specified by:
hasWindowsOptions
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withNewWindowsOptions
- Specified by:
withNewWindowsOptions
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
withNewWindowsOptionsLike
public V1PodSecurityContextFluent.WindowsOptionsNested<A> withNewWindowsOptionsLike(io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions item) - Specified by:
withNewWindowsOptionsLike
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
editWindowsOptions
- Specified by:
editWindowsOptions
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
editOrNewWindowsOptions
- Specified by:
editOrNewWindowsOptions
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
editOrNewWindowsOptionsLike
public V1PodSecurityContextFluent.WindowsOptionsNested<A> editOrNewWindowsOptionsLike(io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions item) - Specified by:
editOrNewWindowsOptionsLike
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-
equals
- Overrides:
equals
in classBaseFluent<A extends V1PodSecurityContextFluent<A>>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseFluent<A extends V1PodSecurityContextFluent<A>>
-
toString
-
withRunAsNonRoot
- Specified by:
withRunAsNonRoot
in interfaceV1PodSecurityContextFluent<A extends V1PodSecurityContextFluent<A>>
-