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 for
AsyncRequestBody.fromInputStream(AsyncRequestBodyFromInputStreamConfiguration)
to configure how the SDK should create an AsyncRequestBody
from an InputStream
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create aAsyncRequestBodyFromInputStreamConfiguration.Builder
, used to create aAsyncRequestBodyFromInputStreamConfiguration
.boolean
executor()
int
hashCode()
Take this object and create a builder that contains all of the current property values of this object.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
inputStream
- Returns:
- the provided
InputStream
.
-
contentLength
- Returns:
- the provided content length.
-
executor
- Returns:
- the provided
ExecutorService
.
-
maxReadLimit
- Returns:
- the provided max read limit used to mark and reset the
InputStream
).
-
equals
-
hashCode
public int hashCode() -
builder
Create aAsyncRequestBodyFromInputStreamConfiguration.Builder
, used to create aAsyncRequestBodyFromInputStreamConfiguration
. -
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AsyncRequestBodyFromInputStreamConfiguration.Builder,
AsyncRequestBodyFromInputStreamConfiguration> - Returns:
- a builder for type T
-