Class BlockingInputStreamAsyncRequestBody.Builder
- java.lang.Object
- 
- software.amazon.awssdk.core.async.BlockingInputStreamAsyncRequestBody.Builder
 
- 
- Enclosing class:
- BlockingInputStreamAsyncRequestBody
 
 public static final class BlockingInputStreamAsyncRequestBody.Builder extends Object 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockingInputStreamAsyncRequestBodybuild()BlockingInputStreamAsyncRequestBody.BuildercontentLength(Long contentLength)The content length of the output stream.BlockingInputStreamAsyncRequestBody.BuildercontentType(String contentType)The content type of the output stream.BlockingInputStreamAsyncRequestBody.BuildersubscribeTimeout(Duration subscribeTimeout)Defines how long it should wait for this AsyncRequestBody to be subscribed (to start streaming) before timing out.
 
- 
- 
- 
Method Detail- 
subscribeTimeoutpublic BlockingInputStreamAsyncRequestBody.Builder subscribeTimeout(Duration subscribeTimeout) Defines how long it should wait for this AsyncRequestBody to be subscribed (to start streaming) before timing out. By default, it's 10 seconds.You may want to increase it if the request may not be executed right away. - Parameters:
- subscribeTimeout- the timeout
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 - 
contentLengthpublic BlockingInputStreamAsyncRequestBody.Builder contentLength(Long contentLength) The content length of the output stream.- Parameters:
- contentLength- the content length
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 - 
contentTypepublic BlockingInputStreamAsyncRequestBody.Builder contentType(String contentType) The content type of the output stream.- Parameters:
- contentType- the content type
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 - 
buildpublic BlockingInputStreamAsyncRequestBody build() 
 
- 
 
-