Class SecurityContext.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.core.v1.outputs.SecurityContext.Builder
-
- Enclosing class:
- SecurityContext
public static final class SecurityContext.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(SecurityContext defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityContext.Builder
allowPrivilegeEscalation(java.lang.Boolean allowPrivilegeEscalation)
SecurityContext
build()
SecurityContext.Builder
capabilities(Capabilities capabilities)
SecurityContext.Builder
privileged(java.lang.Boolean privileged)
SecurityContext.Builder
procMount(java.lang.String procMount)
SecurityContext.Builder
readOnlyRootFilesystem(java.lang.Boolean readOnlyRootFilesystem)
SecurityContext.Builder
runAsGroup(java.lang.Integer runAsGroup)
SecurityContext.Builder
runAsNonRoot(java.lang.Boolean runAsNonRoot)
SecurityContext.Builder
runAsUser(java.lang.Integer runAsUser)
SecurityContext.Builder
seccompProfile(SeccompProfile seccompProfile)
SecurityContext.Builder
seLinuxOptions(SELinuxOptions seLinuxOptions)
SecurityContext.Builder
windowsOptions(WindowsSecurityContextOptions windowsOptions)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(SecurityContext defaults)
-
-
Method Detail
-
allowPrivilegeEscalation
public SecurityContext.Builder allowPrivilegeEscalation(@Nullable java.lang.Boolean allowPrivilegeEscalation)
-
capabilities
public SecurityContext.Builder capabilities(@Nullable Capabilities capabilities)
-
privileged
public SecurityContext.Builder privileged(@Nullable java.lang.Boolean privileged)
-
procMount
public SecurityContext.Builder procMount(@Nullable java.lang.String procMount)
-
readOnlyRootFilesystem
public SecurityContext.Builder readOnlyRootFilesystem(@Nullable java.lang.Boolean readOnlyRootFilesystem)
-
runAsGroup
public SecurityContext.Builder runAsGroup(@Nullable java.lang.Integer runAsGroup)
-
runAsNonRoot
public SecurityContext.Builder runAsNonRoot(@Nullable java.lang.Boolean runAsNonRoot)
-
runAsUser
public SecurityContext.Builder runAsUser(@Nullable java.lang.Integer runAsUser)
-
seLinuxOptions
public SecurityContext.Builder seLinuxOptions(@Nullable SELinuxOptions seLinuxOptions)
-
seccompProfile
public SecurityContext.Builder seccompProfile(@Nullable SeccompProfile seccompProfile)
-
windowsOptions
public SecurityContext.Builder windowsOptions(@Nullable WindowsSecurityContextOptions windowsOptions)
-
build
public SecurityContext build()
-
-