public static interface OperatingSystem.Builder extends SdkPojo, CopyableBuilder<OperatingSystem.Builder,OperatingSystem>
Modifier and Type | Method and Description |
---|---|
OperatingSystem.Builder |
configurationManagers(Collection<OperatingSystemConfigurationManager> configurationManagers)
Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.
|
OperatingSystem.Builder |
configurationManagers(Consumer<OperatingSystemConfigurationManager.Builder>... configurationManagers)
Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.
|
OperatingSystem.Builder |
configurationManagers(OperatingSystemConfigurationManager... configurationManagers)
Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.
|
OperatingSystem.Builder |
id(String id)
The ID of a supported operating system, such as
Amazon Linux 2017.09 . |
OperatingSystem.Builder |
name(String name)
The name of the operating system, such as
Amazon Linux 2017.09 . |
OperatingSystem.Builder |
reportedName(String reportedName)
A short name for the operating system manufacturer.
|
OperatingSystem.Builder |
reportedVersion(String reportedVersion)
The version of the operating system, including the release and edition, if applicable.
|
OperatingSystem.Builder |
supported(Boolean supported)
Indicates that an operating system is not supported for new instances.
|
OperatingSystem.Builder |
type(String type)
The type of a supported operating system, either
Linux or Windows . |
copy
applyMutation, build
OperatingSystem.Builder name(String name)
The name of the operating system, such as Amazon Linux 2017.09
.
name
- The name of the operating system, such as Amazon Linux 2017.09
.OperatingSystem.Builder id(String id)
The ID of a supported operating system, such as Amazon Linux 2017.09
.
id
- The ID of a supported operating system, such as Amazon Linux 2017.09
.OperatingSystem.Builder type(String type)
The type of a supported operating system, either Linux
or Windows
.
type
- The type of a supported operating system, either Linux
or Windows
.OperatingSystem.Builder configurationManagers(Collection<OperatingSystemConfigurationManager> configurationManagers)
Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.
configurationManagers
- Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.OperatingSystem.Builder configurationManagers(OperatingSystemConfigurationManager... configurationManagers)
Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.
configurationManagers
- Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.OperatingSystem.Builder configurationManagers(Consumer<OperatingSystemConfigurationManager.Builder>... configurationManagers)
Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.
This is a convenience that creates an instance of the.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is
called immediately and its result is passed to #configurationManagers(List)
.configurationManagers
- a consumer that will call methods on List.Builder
#configurationManagers(List)
OperatingSystem.Builder reportedName(String reportedName)
A short name for the operating system manufacturer.
reportedName
- A short name for the operating system manufacturer.OperatingSystem.Builder reportedVersion(String reportedVersion)
The version of the operating system, including the release and edition, if applicable.
reportedVersion
- The version of the operating system, including the release and edition, if applicable.OperatingSystem.Builder supported(Boolean supported)
Indicates that an operating system is not supported for new instances.
supported
- Indicates that an operating system is not supported for new instances.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.