public class SecurityContextFluentImpl<T extends SecurityContextFluent<T>> extends BaseFluent<T> implements SecurityContextFluent<T>
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<T extends SecurityContextFluent<T>>
public T withCapabilities(Capabilities capabilities)
withCapabilities
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public SecurityContextFluent.CapabilitiesNested<T> withNewCapabilities()
withNewCapabilities
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public SecurityContextFluent.CapabilitiesNested<T> withNewCapabilitiesLike(Capabilities item)
withNewCapabilitiesLike
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public SecurityContextFluent.CapabilitiesNested<T> editCapabilities()
editCapabilities
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public Boolean isPrivileged()
isPrivileged
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public T withPrivileged(Boolean privileged)
withPrivileged
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public Boolean isRunAsNonRoot()
isRunAsNonRoot
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public T withRunAsNonRoot(Boolean runAsNonRoot)
withRunAsNonRoot
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public Long getRunAsUser()
getRunAsUser
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public T withRunAsUser(Long runAsUser)
withRunAsUser
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public SELinuxOptions getSeLinuxOptions()
getSeLinuxOptions
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public T withSeLinuxOptions(SELinuxOptions seLinuxOptions)
withSeLinuxOptions
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public SecurityContextFluent.SeLinuxOptionsNested<T> withNewSeLinuxOptions()
withNewSeLinuxOptions
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public SecurityContextFluent.SeLinuxOptionsNested<T> withNewSeLinuxOptionsLike(SELinuxOptions item)
withNewSeLinuxOptionsLike
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public SecurityContextFluent.SeLinuxOptionsNested<T> editSeLinuxOptions()
editSeLinuxOptions
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public T withNewSeLinuxOptions(String level, String role, String type, String user)
withNewSeLinuxOptions
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public T addToAdditionalProperties(String key, Object value)
addToAdditionalProperties
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public T addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public T removeFromAdditionalProperties(String key)
removeFromAdditionalProperties
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public T removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
public T withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties
in interface SecurityContextFluent<T extends SecurityContextFluent<T>>
Copyright © 2011–2015 Red Hat. All rights reserved.