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 Summary
Modifier and TypeMethodDescriptionallowPrivilegeEscalation
(Boolean allowPrivilegeEscalation) Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process.privileged
(Boolean privileged) Whether the container is privileged.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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.
-