Interface CreateApiDestinationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudWatchEventsRequest.Builder
,CopyableBuilder<CreateApiDestinationRequest.Builder,
,CreateApiDestinationRequest> SdkBuilder<CreateApiDestinationRequest.Builder,
,CreateApiDestinationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateApiDestinationRequest
@Mutable
@NotThreadSafe
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudwatchevents.model.CloudWatchEventsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-