@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.653Z") @Stability(value=Experimental) public abstract class MultipartBody extends software.amazon.jsii.JsiiObject
MultipartUserData.| Modifier and Type | Field and Description |
|---|---|
static String |
CLOUD_BOOTHOOK
(experimental) Content type for boot hooks.
|
static String |
SHELL_SCRIPT
(experimental) Content type for shell scripts.
|
| Modifier | Constructor and Description |
|---|---|
protected |
MultipartBody() |
protected |
MultipartBody(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
MultipartBody(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static MultipartBody |
fromRawBody(MultipartBodyOptions opts)
(experimental) Constructs the raw `MultipartBody` using specified body, content type and transfer encoding.
|
static MultipartBody |
fromUserData(UserData userData)
(experimental) Constructs the new `MultipartBody` wrapping existing `UserData`.
|
static MultipartBody |
fromUserData(UserData userData,
String contentType)
(experimental) Constructs the new `MultipartBody` wrapping existing `UserData`.
|
abstract List<String> |
renderBodyPart()
(experimental) Render body part as the string.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Experimental) public static final String CLOUD_BOOTHOOK
@Stability(value=Experimental) public static final String SHELL_SCRIPT
protected MultipartBody(software.amazon.jsii.JsiiObjectRef objRef)
protected MultipartBody(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) protected MultipartBody()
@Stability(value=Experimental) @NotNull public static MultipartBody fromRawBody(@NotNull MultipartBodyOptions opts)
When transfer encoding is specified (typically as Base64), it's caller responsibility to convert body to
Base64 either by wrapping with Fn.base64 or by converting it by other converters.
opts - This parameter is required.@Stability(value=Experimental) @NotNull public static MultipartBody fromUserData(@NotNull UserData userData, @Nullable String contentType)
For more information about content types see {@link MultipartBodyOptions.contentType}.
userData - user data to wrap into body part. This parameter is required.contentType - optional content type, if default one should not be used.@Stability(value=Experimental) @NotNull public static MultipartBody fromUserData(@NotNull UserData userData)
For more information about content types see {@link MultipartBodyOptions.contentType}.
userData - user data to wrap into body part. This parameter is required.Copyright © 2021. All rights reserved.