public static interface StreamFile.Builder extends SdkPojo, CopyableBuilder<StreamFile.Builder,StreamFile>
Modifier and Type | Method and Description |
---|---|
StreamFile.Builder |
fileId(Integer fileId)
The file ID.
|
default StreamFile.Builder |
s3Location(Consumer<S3Location.Builder> s3Location)
The location of the file in S3.
|
StreamFile.Builder |
s3Location(S3Location s3Location)
The location of the file in S3.
|
copy
applyMutation, build
StreamFile.Builder fileId(Integer fileId)
The file ID.
fileId
- The file ID.StreamFile.Builder s3Location(S3Location s3Location)
The location of the file in S3.
s3Location
- The location of the file in S3.default StreamFile.Builder s3Location(Consumer<S3Location.Builder> s3Location)
The location of the file in S3.
This is a convenience that creates an instance of theS3Location.Builder
avoiding the need to create
one manually via S3Location.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to s3Location(S3Location)
.s3Location
- a consumer that will call methods on S3Location.Builder
s3Location(S3Location)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.