@Stability(value=Stable) public static final class ApiDestination.Builder extends Object implements software.amazon.jsii.Builder<ApiDestination>
ApiDestination.| Modifier and Type | Method and Description |
|---|---|
ApiDestination.Builder |
apiDestinationName(String apiDestinationName)
The name for the API destination.
|
ApiDestination |
build() |
ApiDestination.Builder |
connection(IConnection connection)
The ARN of the connection to use for the API destination.
|
static ApiDestination.Builder |
create(software.constructs.Construct scope,
String id) |
ApiDestination.Builder |
description(String description)
A description for the API destination.
|
ApiDestination.Builder |
endpoint(String endpoint)
The URL to the HTTP invocation endpoint for the API destination..
|
ApiDestination.Builder |
httpMethod(HttpMethod httpMethod)
The method to use for the request to the HTTP invocation endpoint.
|
ApiDestination.Builder |
rateLimitPerSecond(Number rateLimitPerSecond)
The maximum number of requests per second to send to the HTTP invocation endpoint.
|
@Stability(value=Stable) public static ApiDestination.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.ApiDestination.Builder.@Stability(value=Stable) public ApiDestination.Builder connection(IConnection connection)
connection - The ARN of the connection to use for the API destination. This parameter is required.this@Stability(value=Stable) public ApiDestination.Builder endpoint(String endpoint)
endpoint - The URL to the HTTP invocation endpoint for the API destination.. This parameter is required.this@Stability(value=Stable) public ApiDestination.Builder apiDestinationName(String apiDestinationName)
Default: - A unique name will be generated
apiDestinationName - The name for the API destination. This parameter is required.this@Stability(value=Stable) public ApiDestination.Builder description(String description)
Default: - none
description - A description for the API destination. This parameter is required.this@Stability(value=Stable) public ApiDestination.Builder httpMethod(HttpMethod httpMethod)
Default: HttpMethod.POST
httpMethod - The method to use for the request to the HTTP invocation endpoint. This parameter is required.this@Stability(value=Stable) public ApiDestination.Builder rateLimitPerSecond(Number rateLimitPerSecond)
Default: - Not rate limited
rateLimitPerSecond - The maximum number of requests per second to send to the HTTP invocation endpoint. This parameter is required.this@Stability(value=Stable) public ApiDestination build()
build in interface software.amazon.jsii.Builder<ApiDestination>Copyright © 2022. All rights reserved.