Class MultipartUserDataOptions.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.MultipartUserDataOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MultipartUserDataOptions>
- Enclosing interface:
MultipartUserDataOptions
@Stability(Stable)
public static final class MultipartUserDataOptions.Builder
extends Object
implements software.amazon.jsii.Builder<MultipartUserDataOptions>
A builder for
MultipartUserDataOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.partsSeparator
(String partsSeparator) Sets the value ofMultipartUserDataOptions.getPartsSeparator()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
partsSeparator
Sets the value ofMultipartUserDataOptions.getPartsSeparator()
- Parameters:
partsSeparator
- The string used to separate parts in multipart user data archive (it's like MIME boundary). This string should contain [a-zA-Z0-9()+,-./:=?] characters only, and should not be present in any part, or in text content of archive.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<MultipartUserDataOptions>
- Returns:
- a new instance of
MultipartUserDataOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-