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 Summary
Modifier and TypeMethodDescriptionbuild()
static WindowsImage.Builder
create
(WindowsVersion version) Initial user data.
-
Method Details
-
create
- Parameters:
version
- This parameter is required.- Returns:
- a new instance of
WindowsImage.Builder
.
-
userData
Initial user data.Default: - Empty UserData for Windows machines
- Parameters:
userData
- Initial user data. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<WindowsImage>
- Returns:
- a newly built instance of
WindowsImage
.
-