Class GenericLinuxImageProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.GenericLinuxImageProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GenericLinuxImageProps>
- Enclosing interface:
- GenericLinuxImageProps
@Stability(Stable)
public static final class GenericLinuxImageProps.Builder
extends Object
implements software.amazon.jsii.Builder<GenericLinuxImageProps>
A builder for
GenericLinuxImageProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofGenericLinuxImageProps.getUserData()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
userData
Sets the value ofGenericLinuxImageProps.getUserData()
- Parameters:
userData
- Initial user data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<GenericLinuxImageProps>
- Returns:
- a new instance of
GenericLinuxImageProps
- Throws:
NullPointerException
- if any required attribute was not provided
-