@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:46:59.864Z") @Stability(value=Experimental) public class PayloadFormatVersion extends software.amazon.jsii.JsiiObject
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigatewayv2.*;
PayloadFormatVersion payloadFormatVersion = PayloadFormatVersion.custom("version");
| Modifier and Type | Field and Description |
|---|---|
static PayloadFormatVersion |
VERSION_1_0
(experimental) Version 1.0.
|
static PayloadFormatVersion |
VERSION_2_0
(experimental) Version 2.0.
|
| Modifier | Constructor and Description |
|---|---|
protected |
PayloadFormatVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
PayloadFormatVersion(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static PayloadFormatVersion |
custom(String version)
(experimental) A custom payload version.
|
String |
getVersion()
(experimental) version as a string.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Experimental) public static final PayloadFormatVersion VERSION_1_0
@Stability(value=Experimental) public static final PayloadFormatVersion VERSION_2_0
protected PayloadFormatVersion(software.amazon.jsii.JsiiObjectRef objRef)
protected PayloadFormatVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static PayloadFormatVersion custom(@NotNull String version)
Typically used if there is a version number that the CDK doesn't support yet
version - This parameter is required.@Stability(value=Experimental) @NotNull public String getVersion()
Copyright © 2022. All rights reserved.