Package com.pulumi.cloudinit.inputs
Class GetConfigPart.Builder
- java.lang.Object
-
- com.pulumi.cloudinit.inputs.GetConfigPart.Builder
-
- Enclosing class:
- GetConfigPart
public static final class GetConfigPart.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetConfigPart defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetConfigPartbuild()GetConfigPart.Buildercontent(java.lang.String content)GetConfigPart.BuildercontentType(java.lang.String contentType)GetConfigPart.Builderfilename(java.lang.String filename)GetConfigPart.BuildermergeType(java.lang.String mergeType)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetConfigPart defaults)
-
-
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
-
build
public GetConfigPart build()
-
-