Interface InterceptorInputConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InterceptorInputConfiguration.Builder,,InterceptorInputConfiguration> SdkBuilder<InterceptorInputConfiguration.Builder,,InterceptorInputConfiguration> SdkPojo
- Enclosing class:
InterceptorInputConfiguration
@Mutable
@NotThreadSafe
public static interface InterceptorInputConfiguration.Builder
extends SdkPojo, CopyableBuilder<InterceptorInputConfiguration.Builder,InterceptorInputConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionpassRequestHeaders(Boolean passRequestHeaders) Indicates whether to pass request headers as input into the interceptor.payloadFilter(Consumer<InterceptorPayloadFilter.Builder> payloadFilter) The filter that determines which parts of the request or response payload are passed as input to the interceptor.payloadFilter(InterceptorPayloadFilter payloadFilter) The filter that determines which parts of the request or response payload are passed as input to the interceptor.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
-
passRequestHeaders
Indicates whether to pass request headers as input into the interceptor. When set to true, request headers will be passed.
- Parameters:
passRequestHeaders- Indicates whether to pass request headers as input into the interceptor. When set to true, request headers will be passed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payloadFilter
The filter that determines which parts of the request or response payload are passed as input to the interceptor.
- Parameters:
payloadFilter- The filter that determines which parts of the request or response payload are passed as input to the interceptor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payloadFilter
default InterceptorInputConfiguration.Builder payloadFilter(Consumer<InterceptorPayloadFilter.Builder> payloadFilter) The filter that determines which parts of the request or response payload are passed as input to the interceptor.
This is a convenience method that creates an instance of theInterceptorPayloadFilter.Builderavoiding the need to create one manually viaInterceptorPayloadFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topayloadFilter(InterceptorPayloadFilter).- Parameters:
payloadFilter- a consumer that will call methods onInterceptorPayloadFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-