@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.156Z") @Stability(value=Stable) public enum ContentHandling extends Enum<ContentHandling>
Function getBookHandler;
LambdaIntegration getBookIntegration;
LambdaIntegration getBookIntegration = LambdaIntegration.Builder.create(getBookHandler)
.contentHandling(ContentHandling.CONVERT_TO_TEXT) // convert to base64
.credentialsPassthrough(true)
.build();
| Enum Constant and Description |
|---|
CONVERT_TO_BINARY
Converts a request payload from a base64-encoded string to a binary blob.
|
CONVERT_TO_TEXT
Converts a request payload from a binary blob to a base64-encoded string.
|
| Modifier and Type | Method and Description |
|---|---|
static ContentHandling |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final ContentHandling CONVERT_TO_BINARY
@Stability(value=Stable) public static final ContentHandling CONVERT_TO_TEXT
public static ContentHandling[] values()
for (ContentHandling c : ContentHandling.values()) System.out.println(c);
public static ContentHandling valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.