@Stability(value=Stable) public static final class ApiDestinationProps.Builder extends Object implements software.amazon.jsii.Builder<ApiDestinationProps>
ApiDestinationProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ApiDestinationProps.Builder |
apiDestinationName(String apiDestinationName)
Sets the value of
ApiDestinationProps.getApiDestinationName() |
ApiDestinationProps |
build()
Builds the configured instance.
|
ApiDestinationProps.Builder |
connection(IConnection connection)
Sets the value of
ApiDestinationProps.getConnection() |
ApiDestinationProps.Builder |
description(String description)
Sets the value of
ApiDestinationProps.getDescription() |
ApiDestinationProps.Builder |
endpoint(String endpoint)
Sets the value of
ApiDestinationProps.getEndpoint() |
ApiDestinationProps.Builder |
httpMethod(HttpMethod httpMethod)
Sets the value of
ApiDestinationProps.getHttpMethod() |
ApiDestinationProps.Builder |
rateLimitPerSecond(Number rateLimitPerSecond)
Sets the value of
ApiDestinationProps.getRateLimitPerSecond() |
@Stability(value=Stable) public ApiDestinationProps.Builder connection(IConnection connection)
ApiDestinationProps.getConnection()connection - The ARN of the connection to use for the API destination. This parameter is required.this@Stability(value=Stable) public ApiDestinationProps.Builder endpoint(String endpoint)
ApiDestinationProps.getEndpoint()endpoint - The URL to the HTTP invocation endpoint for the API destination.. This parameter is required.this@Stability(value=Stable) public ApiDestinationProps.Builder apiDestinationName(String apiDestinationName)
ApiDestinationProps.getApiDestinationName()apiDestinationName - The name for the API destination.this@Stability(value=Stable) public ApiDestinationProps.Builder description(String description)
ApiDestinationProps.getDescription()description - A description for the API destination.this@Stability(value=Stable) public ApiDestinationProps.Builder httpMethod(HttpMethod httpMethod)
ApiDestinationProps.getHttpMethod()httpMethod - The method to use for the request to the HTTP invocation endpoint.this@Stability(value=Stable) public ApiDestinationProps.Builder rateLimitPerSecond(Number rateLimitPerSecond)
ApiDestinationProps.getRateLimitPerSecond()rateLimitPerSecond - The maximum number of requests per second to send to the HTTP invocation endpoint.this@Stability(value=Stable) public ApiDestinationProps build()
build in interface software.amazon.jsii.Builder<ApiDestinationProps>ApiDestinationPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.