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