Class MultipartUserData.Builder

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

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

    • create

      @Stability(Stable) public static MultipartUserData.Builder create()
      Returns:
      a new instance of MultipartUserData.Builder.
    • partsSeparator

      @Stability(Stable) public MultipartUserData.Builder partsSeparator(String 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.

      Default: `+AWS+CDK+User+Data+Separator==`

      Parameters:
      partsSeparator - The string used to separate parts in multipart user data archive (it's like MIME boundary). This parameter is required.
      Returns:
      this
    • build

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