public class SecurityContextFluentImpl<A extends SecurityContextFluent<A>> extends BaseFluent<A> implements SecurityContextFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
SecurityContextFluentImpl.CapabilitiesNestedImpl<N> |
class |
SecurityContextFluentImpl.SeLinuxOptionsNestedImpl<N> |
SecurityContextFluent.CapabilitiesNested<N>, SecurityContextFluent.SeLinuxOptionsNested<N>
_visitables
Constructor and Description |
---|
SecurityContextFluentImpl() |
SecurityContextFluentImpl(SecurityContext instance) |
public SecurityContextFluentImpl()
public SecurityContextFluentImpl(SecurityContext instance)
public Capabilities getCapabilities()
getCapabilities
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withCapabilities(Capabilities capabilities)
withCapabilities
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.CapabilitiesNested<A> withNewCapabilities()
withNewCapabilities
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.CapabilitiesNested<A> withNewCapabilitiesLike(Capabilities item)
withNewCapabilitiesLike
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.CapabilitiesNested<A> editCapabilities()
editCapabilities
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.CapabilitiesNested<A> editOrNewCapabilities()
editOrNewCapabilities
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.CapabilitiesNested<A> editOrNewCapabilitiesLike(Capabilities item)
editOrNewCapabilitiesLike
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Boolean isPrivileged()
isPrivileged
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withPrivileged(Boolean privileged)
withPrivileged
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Boolean isReadOnlyRootFilesystem()
isReadOnlyRootFilesystem
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem)
withReadOnlyRootFilesystem
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Boolean isRunAsNonRoot()
isRunAsNonRoot
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withRunAsNonRoot(Boolean runAsNonRoot)
withRunAsNonRoot
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Long getRunAsUser()
getRunAsUser
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withRunAsUser(Long runAsUser)
withRunAsUser
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SELinuxOptions getSeLinuxOptions()
getSeLinuxOptions
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withSeLinuxOptions(SELinuxOptions seLinuxOptions)
withSeLinuxOptions
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.SeLinuxOptionsNested<A> withNewSeLinuxOptions()
withNewSeLinuxOptions
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.SeLinuxOptionsNested<A> withNewSeLinuxOptionsLike(SELinuxOptions item)
withNewSeLinuxOptionsLike
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.SeLinuxOptionsNested<A> editSeLinuxOptions()
editSeLinuxOptions
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.SeLinuxOptionsNested<A> editOrNewSeLinuxOptions()
editOrNewSeLinuxOptions
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.SeLinuxOptionsNested<A> editOrNewSeLinuxOptionsLike(SELinuxOptions item)
editOrNewSeLinuxOptionsLike
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withNewSeLinuxOptions(String level, String role, String type, String user)
withNewSeLinuxOptions
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
Copyright © 2011–2016 Red Hat. All rights reserved.