Interface OperatingSystemConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OperatingSystemConfiguration.Builder,,OperatingSystemConfiguration> SdkBuilder<OperatingSystemConfiguration.Builder,,OperatingSystemConfiguration> SdkPojo
- Enclosing class:
OperatingSystemConfiguration
@Mutable
@NotThreadSafe
public static interface OperatingSystemConfiguration.Builder
extends SdkPojo, CopyableBuilder<OperatingSystemConfiguration.Builder,OperatingSystemConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe operating system configuration of agents that run on Linux instances.The operating system configuration of agents that run on Linux instances.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
-
linux
The operating system configuration of agents that run on Linux instances.
- Parameters:
linux- The operating system configuration of agents that run on Linux instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linux
default OperatingSystemConfiguration.Builder linux(Consumer<LinuxOperatingSystemConfiguration.Builder> linux) The operating system configuration of agents that run on Linux instances.
This is a convenience method that creates an instance of theLinuxOperatingSystemConfiguration.Builderavoiding the need to create one manually viaLinuxOperatingSystemConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolinux(LinuxOperatingSystemConfiguration).- Parameters:
linux- a consumer that will call methods onLinuxOperatingSystemConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-