Class V1SecurityContextFluentImpl<A extends V1SecurityContextFluent<A>>
java.lang.Object
io.kubernetes.client.fluent.BaseFluent<A>
io.kubernetes.client.openapi.models.V1SecurityContextFluentImpl<A>
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,V1SecurityContextFluent<A>
- Direct Known Subclasses:
V1SecurityContextBuilder
public class V1SecurityContextFluentImpl<A extends V1SecurityContextFluent<A>>
extends BaseFluent<A>
implements V1SecurityContextFluent<A>
Generated
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.kubernetes.client.openapi.models.V1SecurityContextFluent
V1SecurityContextFluent.CapabilitiesNested<N>, V1SecurityContextFluent.SeccompProfileNested<N>, V1SecurityContextFluent.SeLinuxOptionsNested<N>, V1SecurityContextFluent.WindowsOptionsNested<N>
-
Field Summary
Fields inherited from class io.kubernetes.client.fluent.BaseFluent
_visitables, VISIT
-
Constructor Summary
ConstructorsConstructorDescriptionV1SecurityContextFluentImpl
(io.kubernetes.client.openapi.models.V1SecurityContext instance) -
Method Summary
Modifier and TypeMethodDescriptionio.kubernetes.client.openapi.models.V1Capabilities
io.kubernetes.client.openapi.models.V1SeccompProfile
io.kubernetes.client.openapi.models.V1SELinuxOptions
io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions
editOrNewCapabilitiesLike
(io.kubernetes.client.openapi.models.V1Capabilities item) editOrNewSeccompProfileLike
(io.kubernetes.client.openapi.models.V1SeccompProfile item) editOrNewSeLinuxOptionsLike
(io.kubernetes.client.openapi.models.V1SELinuxOptions item) editOrNewWindowsOptionsLike
(io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions item) boolean
io.kubernetes.client.openapi.models.V1Capabilities
Deprecated.io.kubernetes.client.openapi.models.V1SeccompProfile
Deprecated.io.kubernetes.client.openapi.models.V1SELinuxOptions
Deprecated.io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions
Deprecated.int
hashCode()
toString()
withAllowPrivilegeEscalation
(Boolean allowPrivilegeEscalation) withCapabilities
(io.kubernetes.client.openapi.models.V1Capabilities capabilities) withNewCapabilitiesLike
(io.kubernetes.client.openapi.models.V1Capabilities item) withNewSeccompProfileLike
(io.kubernetes.client.openapi.models.V1SeccompProfile item) withNewSeLinuxOptionsLike
(io.kubernetes.client.openapi.models.V1SELinuxOptions item) withNewWindowsOptionsLike
(io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions item) withPrivileged
(Boolean privileged) withProcMount
(String procMount) withReadOnlyRootFilesystem
(Boolean readOnlyRootFilesystem) 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) 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
-
V1SecurityContextFluentImpl
public V1SecurityContextFluentImpl() -
V1SecurityContextFluentImpl
public V1SecurityContextFluentImpl(io.kubernetes.client.openapi.models.V1SecurityContext instance)
-
-
Method Details
-
getAllowPrivilegeEscalation
- Specified by:
getAllowPrivilegeEscalation
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withAllowPrivilegeEscalation
- Specified by:
withAllowPrivilegeEscalation
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
hasAllowPrivilegeEscalation
- Specified by:
hasAllowPrivilegeEscalation
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
getCapabilities
Deprecated.This method has been deprecated, please use method buildCapabilities instead.- Specified by:
getCapabilities
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
- Returns:
- The buildable object.
-
buildCapabilities
public io.kubernetes.client.openapi.models.V1Capabilities buildCapabilities()- Specified by:
buildCapabilities
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withCapabilities
- Specified by:
withCapabilities
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
hasCapabilities
- Specified by:
hasCapabilities
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withNewCapabilities
- Specified by:
withNewCapabilities
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withNewCapabilitiesLike
public V1SecurityContextFluent.CapabilitiesNested<A> withNewCapabilitiesLike(io.kubernetes.client.openapi.models.V1Capabilities item) - Specified by:
withNewCapabilitiesLike
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
editCapabilities
- Specified by:
editCapabilities
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
editOrNewCapabilities
- Specified by:
editOrNewCapabilities
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
editOrNewCapabilitiesLike
public V1SecurityContextFluent.CapabilitiesNested<A> editOrNewCapabilitiesLike(io.kubernetes.client.openapi.models.V1Capabilities item) - Specified by:
editOrNewCapabilitiesLike
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
getPrivileged
- Specified by:
getPrivileged
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withPrivileged
- Specified by:
withPrivileged
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
hasPrivileged
- Specified by:
hasPrivileged
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
getProcMount
- Specified by:
getProcMount
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withProcMount
- Specified by:
withProcMount
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
hasProcMount
- Specified by:
hasProcMount
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
getReadOnlyRootFilesystem
- Specified by:
getReadOnlyRootFilesystem
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withReadOnlyRootFilesystem
- Specified by:
withReadOnlyRootFilesystem
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
hasReadOnlyRootFilesystem
- Specified by:
hasReadOnlyRootFilesystem
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
getRunAsGroup
- Specified by:
getRunAsGroup
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withRunAsGroup
- Specified by:
withRunAsGroup
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
hasRunAsGroup
- Specified by:
hasRunAsGroup
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
getRunAsNonRoot
- Specified by:
getRunAsNonRoot
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withRunAsNonRoot
- Specified by:
withRunAsNonRoot
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
hasRunAsNonRoot
- Specified by:
hasRunAsNonRoot
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
getRunAsUser
- Specified by:
getRunAsUser
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withRunAsUser
- Specified by:
withRunAsUser
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
hasRunAsUser
- Specified by:
hasRunAsUser
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
getSeLinuxOptions
Deprecated.This method has been deprecated, please use method buildSeLinuxOptions instead.- Specified by:
getSeLinuxOptions
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
- Returns:
- The buildable object.
-
buildSeLinuxOptions
public io.kubernetes.client.openapi.models.V1SELinuxOptions buildSeLinuxOptions()- Specified by:
buildSeLinuxOptions
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withSeLinuxOptions
- Specified by:
withSeLinuxOptions
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
hasSeLinuxOptions
- Specified by:
hasSeLinuxOptions
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withNewSeLinuxOptions
- Specified by:
withNewSeLinuxOptions
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withNewSeLinuxOptionsLike
public V1SecurityContextFluent.SeLinuxOptionsNested<A> withNewSeLinuxOptionsLike(io.kubernetes.client.openapi.models.V1SELinuxOptions item) - Specified by:
withNewSeLinuxOptionsLike
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
editSeLinuxOptions
- Specified by:
editSeLinuxOptions
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
editOrNewSeLinuxOptions
- Specified by:
editOrNewSeLinuxOptions
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
editOrNewSeLinuxOptionsLike
public V1SecurityContextFluent.SeLinuxOptionsNested<A> editOrNewSeLinuxOptionsLike(io.kubernetes.client.openapi.models.V1SELinuxOptions item) - Specified by:
editOrNewSeLinuxOptionsLike
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
getSeccompProfile
Deprecated.This method has been deprecated, please use method buildSeccompProfile instead.- Specified by:
getSeccompProfile
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
- Returns:
- The buildable object.
-
buildSeccompProfile
public io.kubernetes.client.openapi.models.V1SeccompProfile buildSeccompProfile()- Specified by:
buildSeccompProfile
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withSeccompProfile
- Specified by:
withSeccompProfile
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
hasSeccompProfile
- Specified by:
hasSeccompProfile
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withNewSeccompProfile
- Specified by:
withNewSeccompProfile
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withNewSeccompProfileLike
public V1SecurityContextFluent.SeccompProfileNested<A> withNewSeccompProfileLike(io.kubernetes.client.openapi.models.V1SeccompProfile item) - Specified by:
withNewSeccompProfileLike
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
editSeccompProfile
- Specified by:
editSeccompProfile
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
editOrNewSeccompProfile
- Specified by:
editOrNewSeccompProfile
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
editOrNewSeccompProfileLike
public V1SecurityContextFluent.SeccompProfileNested<A> editOrNewSeccompProfileLike(io.kubernetes.client.openapi.models.V1SeccompProfile item) - Specified by:
editOrNewSeccompProfileLike
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<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 interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
- Returns:
- The buildable object.
-
buildWindowsOptions
public io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions buildWindowsOptions()- Specified by:
buildWindowsOptions
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withWindowsOptions
public A withWindowsOptions(io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions windowsOptions) - Specified by:
withWindowsOptions
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
hasWindowsOptions
- Specified by:
hasWindowsOptions
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withNewWindowsOptions
- Specified by:
withNewWindowsOptions
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withNewWindowsOptionsLike
public V1SecurityContextFluent.WindowsOptionsNested<A> withNewWindowsOptionsLike(io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions item) - Specified by:
withNewWindowsOptionsLike
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
editWindowsOptions
- Specified by:
editWindowsOptions
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
editOrNewWindowsOptions
- Specified by:
editOrNewWindowsOptions
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
editOrNewWindowsOptionsLike
public V1SecurityContextFluent.WindowsOptionsNested<A> editOrNewWindowsOptionsLike(io.kubernetes.client.openapi.models.V1WindowsSecurityContextOptions item) - Specified by:
editOrNewWindowsOptionsLike
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
equals
- Overrides:
equals
in classBaseFluent<A extends V1SecurityContextFluent<A>>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseFluent<A extends V1SecurityContextFluent<A>>
-
toString
-
withAllowPrivilegeEscalation
- Specified by:
withAllowPrivilegeEscalation
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withPrivileged
- Specified by:
withPrivileged
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withReadOnlyRootFilesystem
- Specified by:
withReadOnlyRootFilesystem
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-
withRunAsNonRoot
- Specified by:
withRunAsNonRoot
in interfaceV1SecurityContextFluent<A extends V1SecurityContextFluent<A>>
-