Class AsyncRequestBodyFromInputStreamConfiguration
- java.lang.Object
-
- software.amazon.awssdk.core.async.AsyncRequestBodyFromInputStreamConfiguration
-
- All Implemented Interfaces:
ToCopyableBuilder<AsyncRequestBodyFromInputStreamConfiguration.Builder,AsyncRequestBodyFromInputStreamConfiguration>
public final class AsyncRequestBodyFromInputStreamConfiguration extends Object implements ToCopyableBuilder<AsyncRequestBodyFromInputStreamConfiguration.Builder,AsyncRequestBodyFromInputStreamConfiguration>
Configuration options forAsyncRequestBody.fromInputStream(AsyncRequestBodyFromInputStreamConfiguration)to configure how the SDK should create anAsyncRequestBodyfrom anInputStream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAsyncRequestBodyFromInputStreamConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AsyncRequestBodyFromInputStreamConfiguration.Builderbuilder()Create aAsyncRequestBodyFromInputStreamConfiguration.Builder, used to create aAsyncRequestBodyFromInputStreamConfiguration.LongcontentLength()booleanequals(Object o)ExecutorServiceexecutor()inthashCode()InputStreaminputStream()IntegermaxReadLimit()AsyncRequestBodyFromInputStreamConfiguration.BuildertoBuilder()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
inputStream
public InputStream inputStream()
- Returns:
- the provided
InputStream.
-
contentLength
public Long contentLength()
- Returns:
- the provided content length.
-
executor
public ExecutorService executor()
- Returns:
- the provided
ExecutorService.
-
maxReadLimit
public Integer maxReadLimit()
- Returns:
- the provided max read limit used to mark and reset the
InputStream).
-
builder
public static AsyncRequestBodyFromInputStreamConfiguration.Builder builder()
Create aAsyncRequestBodyFromInputStreamConfiguration.Builder, used to create aAsyncRequestBodyFromInputStreamConfiguration.
-
toBuilder
public AsyncRequestBodyFromInputStreamConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AsyncRequestBodyFromInputStreamConfiguration.Builder,AsyncRequestBodyFromInputStreamConfiguration>
-
-