public static final class CfnApiDestinationProps.Builder
extends java.lang.Object
CfnApiDestinationProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnApiDestinationProps |
build()
Builds the configured instance.
|
CfnApiDestinationProps.Builder |
connectionArn(java.lang.String connectionArn)
Sets the value of
CfnApiDestinationProps.getConnectionArn() |
CfnApiDestinationProps.Builder |
description(java.lang.String description)
Sets the value of
CfnApiDestinationProps.getDescription() |
CfnApiDestinationProps.Builder |
httpMethod(java.lang.String httpMethod)
Sets the value of
CfnApiDestinationProps.getHttpMethod() |
CfnApiDestinationProps.Builder |
invocationEndpoint(java.lang.String invocationEndpoint)
Sets the value of
CfnApiDestinationProps.getInvocationEndpoint() |
CfnApiDestinationProps.Builder |
invocationRateLimitPerSecond(java.lang.Number invocationRateLimitPerSecond)
Sets the value of
CfnApiDestinationProps.getInvocationRateLimitPerSecond() |
CfnApiDestinationProps.Builder |
name(java.lang.String name)
Sets the value of
CfnApiDestinationProps.getName() |
public CfnApiDestinationProps.Builder connectionArn(java.lang.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
public CfnApiDestinationProps.Builder httpMethod(java.lang.String httpMethod)
CfnApiDestinationProps.getHttpMethod()
httpMethod
- The method to use for the request to the HTTP invocation endpoint. This parameter is required.this
public CfnApiDestinationProps.Builder invocationEndpoint(java.lang.String invocationEndpoint)
CfnApiDestinationProps.getInvocationEndpoint()
invocationEndpoint
- The URL to the HTTP invocation endpoint for the API destination. This parameter is required.this
public CfnApiDestinationProps.Builder description(java.lang.String description)
CfnApiDestinationProps.getDescription()
description
- A description for the API destination to create.this
public CfnApiDestinationProps.Builder invocationRateLimitPerSecond(java.lang.Number invocationRateLimitPerSecond)
CfnApiDestinationProps.getInvocationRateLimitPerSecond()
invocationRateLimitPerSecond
- The maximum number of requests per second to send to the HTTP invocation endpoint.this
public CfnApiDestinationProps.Builder name(java.lang.String name)
CfnApiDestinationProps.getName()
name
- The name for the API destination to create.this
public CfnApiDestinationProps build()
CfnApiDestinationProps
java.lang.NullPointerException
- if any required attribute was not provided