Interface SecurityContext.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SecurityContext.Builder,SecurityContext>, SdkBuilder<SecurityContext.Builder,SecurityContext>, SdkPojo
Enclosing class:
SecurityContext

public static interface SecurityContext.Builder extends SdkPojo, CopyableBuilder<SecurityContext.Builder,SecurityContext>
  • Method Details

    • privileged

      SecurityContext.Builder privileged(Boolean privileged)

      Whether the container is privileged.

      Parameters:
      privileged - Whether the container is privileged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowPrivilegeEscalation

      SecurityContext.Builder allowPrivilegeEscalation(Boolean allowPrivilegeEscalation)

      Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process.

      Parameters:
      allowPrivilegeEscalation - Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.