Interface ResponseStreamingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResponseStreamingConfiguration.Builder,,ResponseStreamingConfiguration> SdkBuilder<ResponseStreamingConfiguration.Builder,,ResponseStreamingConfiguration> SdkPojo
- Enclosing class:
ResponseStreamingConfiguration
@Mutable
@NotThreadSafe
public static interface ResponseStreamingConfiguration.Builder
extends SdkPojo, CopyableBuilder<ResponseStreamingConfiguration.Builder,ResponseStreamingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionmaxEventsPerInvocation(Integer maxEventsPerInvocation) Specifies the maximum number of response events that the gateway sends to the interceptor in one invocation.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
-
maxEventsPerInvocation
Specifies the maximum number of response events that the gateway sends to the interceptor in one invocation. The interceptor's output for the first batch determines the status code and headers of the response. The gateway ignores the status code and headers that the interceptor returns for later batches.
- Parameters:
maxEventsPerInvocation- Specifies the maximum number of response events that the gateway sends to the interceptor in one invocation. The interceptor's output for the first batch determines the status code and headers of the response. The gateway ignores the status code and headers that the interceptor returns for later batches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-