Interface AsyncRequestBodyFromInputStreamConfiguration.Builder
- 
- All Superinterfaces:
- Buildable,- CopyableBuilder<AsyncRequestBodyFromInputStreamConfiguration.Builder,AsyncRequestBodyFromInputStreamConfiguration>,- SdkBuilder<AsyncRequestBodyFromInputStreamConfiguration.Builder,AsyncRequestBodyFromInputStreamConfiguration>
 - Enclosing class:
- AsyncRequestBodyFromInputStreamConfiguration
 
 public static interface AsyncRequestBodyFromInputStreamConfiguration.Builder extends CopyableBuilder<AsyncRequestBodyFromInputStreamConfiguration.Builder,AsyncRequestBodyFromInputStreamConfiguration> 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description AsyncRequestBodyFromInputStreamConfiguration.BuildercontentLength(Long contentLength)Configures the length of the providedInputStreamAsyncRequestBodyFromInputStreamConfiguration.Builderexecutor(ExecutorService executor)Configures theExecutorServiceto perform the blocking data reads.AsyncRequestBodyFromInputStreamConfiguration.BuilderinputStream(InputStream inputStream)Configures the InputStream.AsyncRequestBodyFromInputStreamConfiguration.BuildermaxReadLimit(Integer maxReadLimit)Configures max read limit used to mark and reset theInputStream.- 
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopy
 - 
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, build
 
- 
 
- 
- 
- 
Method Detail- 
inputStreamAsyncRequestBodyFromInputStreamConfiguration.Builder inputStream(InputStream inputStream) Configures the InputStream.- Parameters:
- inputStream- the InputStream
- Returns:
- This object for method chaining.
 
 - 
contentLengthAsyncRequestBodyFromInputStreamConfiguration.Builder contentLength(Long contentLength) Configures the length of the providedInputStream- Parameters:
- contentLength- the content length
- Returns:
- This object for method chaining.
 
 - 
executorAsyncRequestBodyFromInputStreamConfiguration.Builder executor(ExecutorService executor) Configures theExecutorServiceto perform the blocking data reads.- Parameters:
- executor- the executor
- Returns:
- This object for method chaining.
 
 - 
maxReadLimitAsyncRequestBodyFromInputStreamConfiguration.Builder maxReadLimit(Integer maxReadLimit) Configures max read limit used to mark and reset theInputStream. This will have no effect if the stream doesn't support mark and reset.By default, it is 128 KiB. - Parameters:
- maxReadLimit- the max read limit
- Returns:
- This object for method chaining.
- See Also:
- InputStream.mark(int)
 
 
- 
 
-