Class GetConfigPart.Builder

  • Enclosing class:
    GetConfigPart

    public static final class GetConfigPart.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • content

        public GetConfigPart.Builder content​(java.lang.String content)
        Parameters:
        content - Body content for the part.
        Returns:
        builder
      • contentType

        public GetConfigPart.Builder contentType​(java.lang.String contentType)
        Parameters:
        contentType - A MIME-style content type to report in the header for the part. Defaults to `text/plain`
        Returns:
        builder
      • filename

        public GetConfigPart.Builder filename​(@Nullable
                                              java.lang.String filename)
        Parameters:
        filename - A filename to report in the header for the part.
        Returns:
        builder
      • mergeType

        public GetConfigPart.Builder mergeType​(@Nullable
                                               java.lang.String mergeType)
        Parameters:
        mergeType - A value for the `X-Merge-Type` header of the part, to control [cloud-init merging behavior](https://cloudinit.readthedocs.io/en/latest/reference/merging.html).
        Returns:
        builder