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 anAsyncRequestBody
from anInputStream
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AsyncRequestBodyFromInputStreamConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AsyncRequestBodyFromInputStreamConfiguration.Builder
builder()
Create aAsyncRequestBodyFromInputStreamConfiguration.Builder
, used to create aAsyncRequestBodyFromInputStreamConfiguration
.Long
contentLength()
boolean
equals(Object o)
ExecutorService
executor()
int
hashCode()
InputStream
inputStream()
Integer
maxReadLimit()
AsyncRequestBodyFromInputStreamConfiguration.Builder
toBuilder()
-
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:
toBuilder
in interfaceToCopyableBuilder<AsyncRequestBodyFromInputStreamConfiguration.Builder,AsyncRequestBodyFromInputStreamConfiguration>
-
-