public class PodSecurityContextFluentImpl<T extends PodSecurityContextFluent<T>> extends BaseFluent<T> implements PodSecurityContextFluent<T>
Modifier and Type | Class and Description |
---|---|
class |
PodSecurityContextFluentImpl.SeLinuxOptionsNestedImpl<N> |
PodSecurityContextFluent.SeLinuxOptionsNested<N>
_visitables
Constructor and Description |
---|
PodSecurityContextFluentImpl() |
PodSecurityContextFluentImpl(PodSecurityContext instance) |
public PodSecurityContextFluentImpl()
public PodSecurityContextFluentImpl(PodSecurityContext instance)
public Long getFsGroup()
getFsGroup
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public T withFsGroup(Long fsGroup)
withFsGroup
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public Boolean isRunAsNonRoot()
isRunAsNonRoot
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public T withRunAsNonRoot(Boolean runAsNonRoot)
withRunAsNonRoot
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public Long getRunAsUser()
getRunAsUser
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public T withRunAsUser(Long runAsUser)
withRunAsUser
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public SELinuxOptions getSeLinuxOptions()
getSeLinuxOptions
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public T withSeLinuxOptions(SELinuxOptions seLinuxOptions)
withSeLinuxOptions
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public PodSecurityContextFluent.SeLinuxOptionsNested<T> withNewSeLinuxOptions()
withNewSeLinuxOptions
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public PodSecurityContextFluent.SeLinuxOptionsNested<T> withNewSeLinuxOptionsLike(SELinuxOptions item)
withNewSeLinuxOptionsLike
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public PodSecurityContextFluent.SeLinuxOptionsNested<T> editSeLinuxOptions()
editSeLinuxOptions
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public T withNewSeLinuxOptions(String level, String role, String type, String user)
withNewSeLinuxOptions
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public T addToSupplementalGroups(Long... items)
addToSupplementalGroups
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public T removeFromSupplementalGroups(Long... items)
removeFromSupplementalGroups
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public List<Long> getSupplementalGroups()
getSupplementalGroups
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public T withSupplementalGroups(List<Long> supplementalGroups)
withSupplementalGroups
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public T withSupplementalGroups(Long... supplementalGroups)
withSupplementalGroups
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public T addToAdditionalProperties(String key, Object value)
addToAdditionalProperties
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public T addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public T removeFromAdditionalProperties(String key)
removeFromAdditionalProperties
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public T removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
public T withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties
in interface PodSecurityContextFluent<T extends PodSecurityContextFluent<T>>
Copyright © 2011–2015 Red Hat. All rights reserved.