Interface GatewayInterceptorConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GatewayInterceptorConfiguration.Builder,,GatewayInterceptorConfiguration> SdkBuilder<GatewayInterceptorConfiguration.Builder,,GatewayInterceptorConfiguration> SdkPojo
- Enclosing class:
GatewayInterceptorConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioninputConfiguration(Consumer<InterceptorInputConfiguration.Builder> inputConfiguration) The configuration for the input of the interceptor.inputConfiguration(InterceptorInputConfiguration inputConfiguration) The configuration for the input of the interceptor.interceptionPoints(Collection<GatewayInterceptionPoint> interceptionPoints) The supported points of interception.interceptionPoints(GatewayInterceptionPoint... interceptionPoints) The supported points of interception.interceptionPointsWithStrings(String... interceptionPoints) The supported points of interception.interceptionPointsWithStrings(Collection<String> interceptionPoints) The supported points of interception.interceptor(Consumer<InterceptorConfiguration.Builder> interceptor) The infrastructure settings of an interceptor configuration.interceptor(InterceptorConfiguration interceptor) The infrastructure settings of an interceptor configuration.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
-
interceptor
The infrastructure settings of an interceptor configuration. This structure defines how the interceptor can be invoked.
- Parameters:
interceptor- The infrastructure settings of an interceptor configuration. This structure defines how the interceptor can be invoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interceptor
default GatewayInterceptorConfiguration.Builder interceptor(Consumer<InterceptorConfiguration.Builder> interceptor) The infrastructure settings of an interceptor configuration. This structure defines how the interceptor can be invoked.
This is a convenience method that creates an instance of theInterceptorConfiguration.Builderavoiding the need to create one manually viaInterceptorConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointerceptor(InterceptorConfiguration).- Parameters:
interceptor- a consumer that will call methods onInterceptorConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
interceptionPointsWithStrings
GatewayInterceptorConfiguration.Builder interceptionPointsWithStrings(Collection<String> interceptionPoints) The supported points of interception. This field specifies which points during the gateway invocation to invoke the interceptor
- Parameters:
interceptionPoints- The supported points of interception. This field specifies which points during the gateway invocation to invoke the interceptor- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interceptionPointsWithStrings
The supported points of interception. This field specifies which points during the gateway invocation to invoke the interceptor
- Parameters:
interceptionPoints- The supported points of interception. This field specifies which points during the gateway invocation to invoke the interceptor- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interceptionPoints
GatewayInterceptorConfiguration.Builder interceptionPoints(Collection<GatewayInterceptionPoint> interceptionPoints) The supported points of interception. This field specifies which points during the gateway invocation to invoke the interceptor
- Parameters:
interceptionPoints- The supported points of interception. This field specifies which points during the gateway invocation to invoke the interceptor- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interceptionPoints
GatewayInterceptorConfiguration.Builder interceptionPoints(GatewayInterceptionPoint... interceptionPoints) The supported points of interception. This field specifies which points during the gateway invocation to invoke the interceptor
- Parameters:
interceptionPoints- The supported points of interception. This field specifies which points during the gateway invocation to invoke the interceptor- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputConfiguration
GatewayInterceptorConfiguration.Builder inputConfiguration(InterceptorInputConfiguration inputConfiguration) The configuration for the input of the interceptor. This field specifies how the input to the interceptor is constructed
- Parameters:
inputConfiguration- The configuration for the input of the interceptor. This field specifies how the input to the interceptor is constructed- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputConfiguration
default GatewayInterceptorConfiguration.Builder inputConfiguration(Consumer<InterceptorInputConfiguration.Builder> inputConfiguration) The configuration for the input of the interceptor. This field specifies how the input to the interceptor is constructed
This is a convenience method that creates an instance of theInterceptorInputConfiguration.Builderavoiding the need to create one manually viaInterceptorInputConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputConfiguration(InterceptorInputConfiguration).- Parameters:
inputConfiguration- a consumer that will call methods onInterceptorInputConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-