@Stability(value=Stable) public static final class CfnApiDestinationProps.Builder extends Object implements software.amazon.jsii.Builder<CfnApiDestinationProps>
CfnApiDestinationProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnApiDestinationProps |
build()
Builds the configured instance.
|
CfnApiDestinationProps.Builder |
connectionArn(String connectionArn)
Sets the value of
CfnApiDestinationProps.getConnectionArn() |
CfnApiDestinationProps.Builder |
description(String description)
Sets the value of
CfnApiDestinationProps.getDescription() |
CfnApiDestinationProps.Builder |
httpMethod(String httpMethod)
Sets the value of
CfnApiDestinationProps.getHttpMethod() |
CfnApiDestinationProps.Builder |
invocationEndpoint(String invocationEndpoint)
Sets the value of
CfnApiDestinationProps.getInvocationEndpoint() |
CfnApiDestinationProps.Builder |
invocationRateLimitPerSecond(Number invocationRateLimitPerSecond)
Sets the value of
CfnApiDestinationProps.getInvocationRateLimitPerSecond() |
CfnApiDestinationProps.Builder |
name(String name)
Sets the value of
CfnApiDestinationProps.getName() |
@Stability(value=Stable) public CfnApiDestinationProps.Builder connectionArn(String connectionArn)
CfnApiDestinationProps.getConnectionArn()connectionArn - The ARN of the connection to use for the API destination. This parameter is required.
The destination endpoint must support the authorization type specified for the connection.this@Stability(value=Stable) public CfnApiDestinationProps.Builder httpMethod(String httpMethod)
CfnApiDestinationProps.getHttpMethod()httpMethod - The method to use for the request to the HTTP invocation endpoint. This parameter is required.this@Stability(value=Stable) public CfnApiDestinationProps.Builder invocationEndpoint(String invocationEndpoint)
CfnApiDestinationProps.getInvocationEndpoint()invocationEndpoint - The URL to the HTTP invocation endpoint for the API destination. This parameter is required.this@Stability(value=Stable) public CfnApiDestinationProps.Builder description(String description)
CfnApiDestinationProps.getDescription()description - A description for the API destination to create.this@Stability(value=Stable) public CfnApiDestinationProps.Builder invocationRateLimitPerSecond(Number invocationRateLimitPerSecond)
CfnApiDestinationProps.getInvocationRateLimitPerSecond()invocationRateLimitPerSecond - The maximum number of requests per second to send to the HTTP invocation endpoint.this@Stability(value=Stable) public CfnApiDestinationProps.Builder name(String name)
CfnApiDestinationProps.getName()name - The name for the API destination to create.this@Stability(value=Stable) public CfnApiDestinationProps build()
build in interface software.amazon.jsii.Builder<CfnApiDestinationProps>CfnApiDestinationPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.