Interface LinuxOperatingSystemConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LinuxOperatingSystemConfiguration.Builder,,LinuxOperatingSystemConfiguration> SdkBuilder<LinuxOperatingSystemConfiguration.Builder,,LinuxOperatingSystemConfiguration> SdkPojo
- Enclosing class:
LinuxOperatingSystemConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionprivilegeMode(String privilegeMode) The privilege mode of the agents.privilegeMode(PrivilegeMode privilegeMode) The privilege mode of the agents.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
privilegeMode
The privilege mode of the agents. If you omit this field, the agents run in
STANDARDprivilege mode. The following values are possible:-
STANDARD– The agent runs without elevated privileges. This is the default. -
PRIVILEGED– The agent runs with elevated privileges on its instance. Use this mode for agents that build container images, run containers, or install system packages. A session that runs aPRIVILEGEDagent runs only that agent.
- Parameters:
privilegeMode- The privilege mode of the agents. If you omit this field, the agents run inSTANDARDprivilege mode. The following values are possible:-
STANDARD– The agent runs without elevated privileges. This is the default. -
PRIVILEGED– The agent runs with elevated privileges on its instance. Use this mode for agents that build container images, run containers, or install system packages. A session that runs aPRIVILEGEDagent runs only that agent.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
privilegeMode
The privilege mode of the agents. If you omit this field, the agents run in
STANDARDprivilege mode. The following values are possible:-
STANDARD– The agent runs without elevated privileges. This is the default. -
PRIVILEGED– The agent runs with elevated privileges on its instance. Use this mode for agents that build container images, run containers, or install system packages. A session that runs aPRIVILEGEDagent runs only that agent.
- Parameters:
privilegeMode- The privilege mode of the agents. If you omit this field, the agents run inSTANDARDprivilege mode. The following values are possible:-
STANDARD– The agent runs without elevated privileges. This is the default. -
PRIVILEGED– The agent runs with elevated privileges on its instance. Use this mode for agents that build container images, run containers, or install system packages. A session that runs aPRIVILEGEDagent runs only that agent.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-