@Generated(value="org.jsonschema2pojo") public class SecurityContextConstraints extends Object implements HasMetadata
Constructor and Description |
---|
SecurityContextConstraints()
No args constructor for use in serialization
|
SecurityContextConstraints(Boolean allowHostDirVolumePlugin,
Boolean allowHostIPC,
Boolean allowHostNetwork,
Boolean allowHostPID,
Boolean allowHostPorts,
Boolean allowPrivilegeEscalation,
Boolean allowPrivilegedContainer,
List<String> allowedCapabilities,
List<AllowedFlexVolume> allowedFlexVolumes,
List<String> allowedUnsafeSysctls,
String apiVersion,
List<String> defaultAddCapabilities,
Boolean defaultAllowPrivilegeEscalation,
List<String> forbiddenSysctls,
FSGroupStrategyOptions fsGroup,
List<String> groups,
String kind,
ObjectMeta metadata,
Integer priority,
Boolean readOnlyRootFilesystem,
List<String> requiredDropCapabilities,
RunAsUserStrategyOptions runAsUser,
SELinuxContextStrategyOptions seLinuxContext,
List<String> seccompProfiles,
SupplementalGroupsStrategyOptions supplementalGroups,
List<String> users,
List<String> volumes) |
public SecurityContextConstraints()
public SecurityContextConstraints(Boolean allowHostDirVolumePlugin, Boolean allowHostIPC, Boolean allowHostNetwork, Boolean allowHostPID, Boolean allowHostPorts, Boolean allowPrivilegeEscalation, Boolean allowPrivilegedContainer, List<String> allowedCapabilities, List<AllowedFlexVolume> allowedFlexVolumes, List<String> allowedUnsafeSysctls, String apiVersion, List<String> defaultAddCapabilities, Boolean defaultAllowPrivilegeEscalation, List<String> forbiddenSysctls, FSGroupStrategyOptions fsGroup, List<String> groups, String kind, ObjectMeta metadata, Integer priority, Boolean readOnlyRootFilesystem, List<String> requiredDropCapabilities, RunAsUserStrategyOptions runAsUser, SELinuxContextStrategyOptions seLinuxContext, List<String> seccompProfiles, SupplementalGroupsStrategyOptions supplementalGroups, List<String> users, List<String> volumes)
defaultAddCapabilities
- metadata
- seccompProfiles
- allowHostNetwork
- readOnlyRootFilesystem
- apiVersion
- allowPrivilegedContainer
- allowHostIPC
- supplementalGroups
- allowPrivilegeEscalation
- allowedFlexVolumes
- seLinuxContext
- fsGroup
- kind
- volumes
- allowHostPID
- groups
- requiredDropCapabilities
- allowHostDirVolumePlugin
- allowHostPorts
- priority
- users
- allowedCapabilities
- runAsUser
- forbiddenSysctls
- defaultAllowPrivilegeEscalation
- allowedUnsafeSysctls
- public Boolean getAllowHostDirVolumePlugin()
public void setAllowHostDirVolumePlugin(Boolean allowHostDirVolumePlugin)
allowHostDirVolumePlugin
- The allowHostDirVolumePluginpublic Boolean getAllowHostIPC()
public void setAllowHostIPC(Boolean allowHostIPC)
allowHostIPC
- The allowHostIPCpublic Boolean getAllowHostNetwork()
public void setAllowHostNetwork(Boolean allowHostNetwork)
allowHostNetwork
- The allowHostNetworkpublic Boolean getAllowHostPID()
public void setAllowHostPID(Boolean allowHostPID)
allowHostPID
- The allowHostPIDpublic Boolean getAllowHostPorts()
public void setAllowHostPorts(Boolean allowHostPorts)
allowHostPorts
- The allowHostPortspublic Boolean getAllowPrivilegeEscalation()
public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation)
allowPrivilegeEscalation
- The allowPrivilegeEscalationpublic Boolean getAllowPrivilegedContainer()
public void setAllowPrivilegedContainer(Boolean allowPrivilegedContainer)
allowPrivilegedContainer
- The allowPrivilegedContainerpublic List<String> getAllowedCapabilities()
public void setAllowedCapabilities(List<String> allowedCapabilities)
allowedCapabilities
- The allowedCapabilitiespublic List<AllowedFlexVolume> getAllowedFlexVolumes()
public void setAllowedFlexVolumes(List<AllowedFlexVolume> allowedFlexVolumes)
allowedFlexVolumes
- The allowedFlexVolumespublic List<String> getAllowedUnsafeSysctls()
public void setAllowedUnsafeSysctls(List<String> allowedUnsafeSysctls)
allowedUnsafeSysctls
- The allowedUnsafeSysctlspublic String getApiVersion()
getApiVersion
in interface HasMetadata
public void setApiVersion(String apiVersion)
setApiVersion
in interface HasMetadata
apiVersion
- The apiVersionpublic List<String> getDefaultAddCapabilities()
public void setDefaultAddCapabilities(List<String> defaultAddCapabilities)
defaultAddCapabilities
- The defaultAddCapabilitiespublic Boolean getDefaultAllowPrivilegeEscalation()
public void setDefaultAllowPrivilegeEscalation(Boolean defaultAllowPrivilegeEscalation)
defaultAllowPrivilegeEscalation
- The defaultAllowPrivilegeEscalationpublic void setForbiddenSysctls(List<String> forbiddenSysctls)
forbiddenSysctls
- The forbiddenSysctlspublic FSGroupStrategyOptions getFsGroup()
public void setFsGroup(FSGroupStrategyOptions fsGroup)
fsGroup
- The fsGrouppublic String getKind()
getKind
in interface HasMetadata
public void setKind(String kind)
kind
- The kindpublic ObjectMeta getMetadata()
getMetadata
in interface HasMetadata
public void setMetadata(ObjectMeta metadata)
setMetadata
in interface HasMetadata
metadata
- The metadatapublic Integer getPriority()
public void setPriority(Integer priority)
priority
- The prioritypublic Boolean getReadOnlyRootFilesystem()
public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem)
readOnlyRootFilesystem
- The readOnlyRootFilesystempublic List<String> getRequiredDropCapabilities()
public void setRequiredDropCapabilities(List<String> requiredDropCapabilities)
requiredDropCapabilities
- The requiredDropCapabilitiespublic RunAsUserStrategyOptions getRunAsUser()
public void setRunAsUser(RunAsUserStrategyOptions runAsUser)
runAsUser
- The runAsUserpublic SELinuxContextStrategyOptions getSeLinuxContext()
public void setSeLinuxContext(SELinuxContextStrategyOptions seLinuxContext)
seLinuxContext
- The seLinuxContextpublic void setSeccompProfiles(List<String> seccompProfiles)
seccompProfiles
- The seccompProfilespublic SupplementalGroupsStrategyOptions getSupplementalGroups()
public void setSupplementalGroups(SupplementalGroupsStrategyOptions supplementalGroups)
supplementalGroups
- The supplementalGroupsCopyright © 2015–2019 Red Hat. All rights reserved.