@Stability(value=Stable)
public static interface CfnMethod.IntegrationProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigateway.*;
IntegrationProperty integrationProperty = IntegrationProperty.builder()
.cacheKeyParameters(List.of("cacheKeyParameters"))
.cacheNamespace("cacheNamespace")
.connectionId("connectionId")
.connectionType("connectionType")
.contentHandling("contentHandling")
.credentials("credentials")
.integrationHttpMethod("integrationHttpMethod")
.integrationResponses(List.of(IntegrationResponseProperty.builder()
.statusCode("statusCode")
// the properties below are optional
.contentHandling("contentHandling")
.responseParameters(Map.of(
"responseParametersKey", "responseParameters"))
.responseTemplates(Map.of(
"responseTemplatesKey", "responseTemplates"))
.selectionPattern("selectionPattern")
.build()))
.passthroughBehavior("passthroughBehavior")
.requestParameters(Map.of(
"requestParametersKey", "requestParameters"))
.requestTemplates(Map.of(
"requestTemplatesKey", "requestTemplates"))
.timeoutInMillis(123)
.type("type")
.uri("uri")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnMethod.IntegrationProperty.Builder
A builder for
CfnMethod.IntegrationProperty |
static class |
CfnMethod.IntegrationProperty.Jsii$Proxy
An implementation for
CfnMethod.IntegrationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnMethod.IntegrationProperty.Builder |
builder() |
default List<String> |
getCacheKeyParameters()
`CfnMethod.IntegrationProperty.CacheKeyParameters`.
|
default String |
getCacheNamespace()
`CfnMethod.IntegrationProperty.CacheNamespace`.
|
default String |
getConnectionId()
`CfnMethod.IntegrationProperty.ConnectionId`.
|
default String |
getConnectionType()
`CfnMethod.IntegrationProperty.ConnectionType`.
|
default String |
getContentHandling()
`CfnMethod.IntegrationProperty.ContentHandling`.
|
default String |
getCredentials()
`CfnMethod.IntegrationProperty.Credentials`.
|
default String |
getIntegrationHttpMethod()
`CfnMethod.IntegrationProperty.IntegrationHttpMethod`.
|
default Object |
getIntegrationResponses()
`CfnMethod.IntegrationProperty.IntegrationResponses`.
|
default String |
getPassthroughBehavior()
`CfnMethod.IntegrationProperty.PassthroughBehavior`.
|
default Object |
getRequestParameters()
`CfnMethod.IntegrationProperty.RequestParameters`.
|
default Object |
getRequestTemplates()
`CfnMethod.IntegrationProperty.RequestTemplates`.
|
default Number |
getTimeoutInMillis()
`CfnMethod.IntegrationProperty.TimeoutInMillis`.
|
default String |
getType()
`CfnMethod.IntegrationProperty.Type`.
|
default String |
getUri()
`CfnMethod.IntegrationProperty.Uri`.
|
@Stability(value=Stable) @Nullable default List<String> getCacheKeyParameters()
@Stability(value=Stable) @Nullable default String getCacheNamespace()
@Stability(value=Stable) @Nullable default String getConnectionId()
@Stability(value=Stable) @Nullable default String getConnectionType()
@Stability(value=Stable) @Nullable default String getContentHandling()
@Stability(value=Stable) @Nullable default String getCredentials()
@Stability(value=Stable) @Nullable default String getIntegrationHttpMethod()
@Stability(value=Stable) @Nullable default Object getIntegrationResponses()
@Stability(value=Stable) @Nullable default String getPassthroughBehavior()
@Stability(value=Stable) @Nullable default Object getRequestParameters()
@Stability(value=Stable) @Nullable default Object getRequestTemplates()
@Stability(value=Stable) @Nullable default Number getTimeoutInMillis()
@Stability(value=Stable) @Nullable default String getType()
@Stability(value=Stable) @Nullable default String getUri()
@Stability(value=Stable) static CfnMethod.IntegrationProperty.Builder builder()
Copyright © 2021. All rights reserved.