Interface CreateApiDestinationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchEventsRequest.Builder,CopyableBuilder<CreateApiDestinationRequest.Builder,,CreateApiDestinationRequest> SdkBuilder<CreateApiDestinationRequest.Builder,,CreateApiDestinationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateApiDestinationRequest
public static interface CreateApiDestinationRequest.Builder
extends CloudWatchEventsRequest.Builder, SdkPojo, CopyableBuilder<CreateApiDestinationRequest.Builder,CreateApiDestinationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionArn(String connectionArn) The ARN of the connection to use for the API destination.description(String description) A description for the API destination to create.httpMethod(String httpMethod) The method to use for the request to the HTTP invocation endpoint.httpMethod(ApiDestinationHttpMethod httpMethod) The method to use for the request to the HTTP invocation endpoint.invocationEndpoint(String invocationEndpoint) The URL to the HTTP invocation endpoint for the API destination.invocationRateLimitPerSecond(Integer invocationRateLimitPerSecond) The maximum number of requests per second to send to the HTTP invocation endpoint.The name for the API destination to create.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchevents.model.CloudWatchEventsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name for the API destination to create.
- Parameters:
name- The name for the API destination to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the API destination to create.
- Parameters:
description- A description for the API destination to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionArn
The ARN of the connection to use for the API destination. The destination endpoint must support the authorization type specified for the connection.
- Parameters:
connectionArn- The ARN of the connection to use for the API destination. The destination endpoint must support the authorization type specified for the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invocationEndpoint
The URL to the HTTP invocation endpoint for the API destination.
- Parameters:
invocationEndpoint- The URL to the HTTP invocation endpoint for the API destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpMethod
The method to use for the request to the HTTP invocation endpoint.
- Parameters:
httpMethod- The method to use for the request to the HTTP invocation endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
httpMethod
The method to use for the request to the HTTP invocation endpoint.
- Parameters:
httpMethod- The method to use for the request to the HTTP invocation endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invocationRateLimitPerSecond
CreateApiDestinationRequest.Builder invocationRateLimitPerSecond(Integer invocationRateLimitPerSecond) The maximum number of requests per second to send to the HTTP invocation endpoint.
- Parameters:
invocationRateLimitPerSecond- The maximum number of requests per second to send to the HTTP invocation endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateApiDestinationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateApiDestinationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-