public static interface FileLocation.Builder extends SdkPojo, CopyableBuilder<FileLocation.Builder,FileLocation>
Modifier and Type | Method and Description |
---|---|
default FileLocation.Builder |
s3Location(Consumer<S3Location.Builder> s3Location)
The location of the updated firmware in S3.
|
FileLocation.Builder |
s3Location(S3Location s3Location)
The location of the updated firmware in S3.
|
default FileLocation.Builder |
stream(Consumer<Stream.Builder> stream)
The stream that contains the OTA update.
|
FileLocation.Builder |
stream(Stream stream)
The stream that contains the OTA update.
|
copy
applyMutation, build
FileLocation.Builder stream(Stream stream)
The stream that contains the OTA update.
stream
- The stream that contains the OTA update.default FileLocation.Builder stream(Consumer<Stream.Builder> stream)
The stream that contains the OTA update.
This is a convenience that creates an instance of theStream.Builder
avoiding the need to create one
manually via Stream.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to stream(Stream)
.stream
- a consumer that will call methods on Stream.Builder
stream(Stream)
FileLocation.Builder s3Location(S3Location s3Location)
The location of the updated firmware in S3.
s3Location
- The location of the updated firmware in S3.default FileLocation.Builder s3Location(Consumer<S3Location.Builder> s3Location)
The location of the updated firmware 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.