@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.654Z") @Stability(value=Experimental) public interface MultipartBodyOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
MultipartBodyOptions.Builder
A builder for
MultipartBodyOptions |
static class |
MultipartBodyOptions.Jsii$Proxy
An implementation for
MultipartBodyOptions |
| Modifier and Type | Method and Description |
|---|---|
static MultipartBodyOptions.Builder |
builder() |
default String |
getBody()
(experimental) The body of message.
|
String |
getContentType()
(experimental) `Content-Type` header of this part.
|
default String |
getTransferEncoding()
(experimental) `Content-Transfer-Encoding` header specifying part encoding.
|
@Stability(value=Experimental) @NotNull String getContentType()
Some examples of content types:
text/x-shellscript; charset="utf-8" (shell script)text/cloud-boothook; charset="utf-8" (shell script executed during boot phase)
For Linux shell scripts use text/x-shellscript.
@Stability(value=Experimental) @Nullable default String getBody()
Default: undefined - body will not be added to part
@Stability(value=Experimental) @Nullable default String getTransferEncoding()
Default: undefined - body is not encoded
@Stability(value=Experimental) static MultipartBodyOptions.Builder builder()
MultipartBodyOptions.Builder of MultipartBodyOptionsCopyright © 2021. All rights reserved.