Interface OperatingSystem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OperatingSystem.Builder,OperatingSystem>,SdkBuilder<OperatingSystem.Builder,OperatingSystem>,SdkPojo
- Enclosing class:
- OperatingSystem
public static interface OperatingSystem.Builder extends SdkPojo, CopyableBuilder<OperatingSystem.Builder,OperatingSystem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperatingSystem.BuilderconfigurationManagers(Collection<OperatingSystemConfigurationManager> configurationManagers)Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.OperatingSystem.BuilderconfigurationManagers(Consumer<OperatingSystemConfigurationManager.Builder>... configurationManagers)Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.OperatingSystem.BuilderconfigurationManagers(OperatingSystemConfigurationManager... configurationManagers)Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.OperatingSystem.Builderid(String id)The ID of a supported operating system, such asAmazon Linux 2018.03.OperatingSystem.Buildername(String name)The name of the operating system, such asAmazon Linux 2018.03.OperatingSystem.BuilderreportedName(String reportedName)A short name for the operating system manufacturer.OperatingSystem.BuilderreportedVersion(String reportedVersion)The version of the operating system, including the release and edition, if applicable.OperatingSystem.Buildersupported(Boolean supported)Indicates that an operating system is not supported for new instances.OperatingSystem.Buildertype(String type)The type of a supported operating system, eitherLinuxorWindows.-
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 Detail
-
name
OperatingSystem.Builder name(String name)
The name of the operating system, such as
Amazon Linux 2018.03.- Parameters:
name- The name of the operating system, such asAmazon Linux 2018.03.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
OperatingSystem.Builder id(String id)
The ID of a supported operating system, such as
Amazon Linux 2018.03.- Parameters:
id- The ID of a supported operating system, such asAmazon Linux 2018.03.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
OperatingSystem.Builder type(String type)
The type of a supported operating system, either
LinuxorWindows.- Parameters:
type- The type of a supported operating system, eitherLinuxorWindows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationManagers
OperatingSystem.Builder configurationManagers(Collection<OperatingSystemConfigurationManager> configurationManagers)
Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.
- Parameters:
configurationManagers- Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationManagers
OperatingSystem.Builder configurationManagers(OperatingSystemConfigurationManager... configurationManagers)
Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.
- Parameters:
configurationManagers- Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationManagers
OperatingSystem.Builder configurationManagers(Consumer<OperatingSystemConfigurationManager.Builder>... configurationManagers)
Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.
This is a convenience method that creates an instance of theOperatingSystemConfigurationManager.Builderavoiding the need to create one manually viaOperatingSystemConfigurationManager.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#configurationManagers(List.) - Parameters:
configurationManagers- a consumer that will call methods onOperatingSystemConfigurationManager.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#configurationManagers(java.util.Collection)
-
reportedName
OperatingSystem.Builder reportedName(String reportedName)
A short name for the operating system manufacturer.
- Parameters:
reportedName- A short name for the operating system manufacturer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportedVersion
OperatingSystem.Builder reportedVersion(String reportedVersion)
The version of the operating system, including the release and edition, if applicable.
- Parameters:
reportedVersion- The version of the operating system, including the release and edition, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supported
OperatingSystem.Builder supported(Boolean supported)
Indicates that an operating system is not supported for new instances.
- Parameters:
supported- Indicates that an operating system is not supported for new instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-