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 Details

    • name

      The name of the operating system, such as Amazon Linux 2018.03.

      Parameters:
      name - The name of the operating system, such as Amazon Linux 2018.03.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The ID of a supported operating system, such as Amazon Linux 2018.03.

      Parameters:
      id - The ID of a supported operating system, such as Amazon Linux 2018.03.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of a supported operating system, either Linux or Windows.

      Parameters:
      type - The type of a supported operating system, either Linux or Windows.
      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 the OperatingSystemConfigurationManager.Builder avoiding the need to create one manually via OperatingSystemConfigurationManager.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configurationManagers(List<OperatingSystemConfigurationManager>).

      Parameters:
      configurationManagers - a consumer that will call methods on OperatingSystemConfigurationManager.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.