Interface ApiGatewayTargetConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ApiGatewayTargetConfiguration.Builder,,ApiGatewayTargetConfiguration> SdkBuilder<ApiGatewayTargetConfiguration.Builder,,ApiGatewayTargetConfiguration> SdkPojo
- Enclosing class:
ApiGatewayTargetConfiguration
@Mutable
@NotThreadSafe
public static interface ApiGatewayTargetConfiguration.Builder
extends SdkPojo, CopyableBuilder<ApiGatewayTargetConfiguration.Builder,ApiGatewayTargetConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionapiGatewayToolConfiguration(Consumer<ApiGatewayToolConfiguration.Builder> apiGatewayToolConfiguration) The configuration for defining REST API tool filters and overrides for the gateway target.apiGatewayToolConfiguration(ApiGatewayToolConfiguration apiGatewayToolConfiguration) The configuration for defining REST API tool filters and overrides for the gateway target.The ID of the API Gateway REST API.The ID of the stage of the REST API to add as a target.Methods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
restApiId
The ID of the API Gateway REST API.
- Parameters:
restApiId- The ID of the API Gateway REST API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stage
The ID of the stage of the REST API to add as a target.
- Parameters:
stage- The ID of the stage of the REST API to add as a target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiGatewayToolConfiguration
ApiGatewayTargetConfiguration.Builder apiGatewayToolConfiguration(ApiGatewayToolConfiguration apiGatewayToolConfiguration) The configuration for defining REST API tool filters and overrides for the gateway target.
- Parameters:
apiGatewayToolConfiguration- The configuration for defining REST API tool filters and overrides for the gateway target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiGatewayToolConfiguration
default ApiGatewayTargetConfiguration.Builder apiGatewayToolConfiguration(Consumer<ApiGatewayToolConfiguration.Builder> apiGatewayToolConfiguration) The configuration for defining REST API tool filters and overrides for the gateway target.
This is a convenience method that creates an instance of theApiGatewayToolConfiguration.Builderavoiding the need to create one manually viaApiGatewayToolConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapiGatewayToolConfiguration(ApiGatewayToolConfiguration).- Parameters:
apiGatewayToolConfiguration- a consumer that will call methods onApiGatewayToolConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-