Class WindowsImage.Builder

java.lang.Object
software.amazon.awscdk.services.ec2.WindowsImage.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<WindowsImage>
Enclosing class:
WindowsImage

@Stability(Stable) public static final class WindowsImage.Builder extends Object implements software.amazon.jsii.Builder<WindowsImage>
A fluent builder for WindowsImage.
  • Method Details

    • create

      @Stability(Stable) public static WindowsImage.Builder create(WindowsVersion version)
      Parameters:
      version - This parameter is required.
      Returns:
      a new instance of WindowsImage.Builder.
    • userData

      @Stability(Stable) public WindowsImage.Builder userData(UserData userData)
      Initial user data.

      Default: - Empty UserData for Windows machines

      Parameters:
      userData - Initial user data. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public WindowsImage build()
      Specified by:
      build in interface software.amazon.jsii.Builder<WindowsImage>
      Returns:
      a newly built instance of WindowsImage.