public static interface StreamInfo.Builder extends SdkPojo, CopyableBuilder<StreamInfo.Builder,StreamInfo>
Modifier and Type | Method and Description |
---|---|
StreamInfo.Builder |
createdAt(Instant createdAt)
The date when the stream was created.
|
StreamInfo.Builder |
description(String description)
The description of the stream.
|
StreamInfo.Builder |
files(Collection<StreamFile> files)
The files to stream.
|
StreamInfo.Builder |
files(Consumer<StreamFile.Builder>... files)
The files to stream.
|
StreamInfo.Builder |
files(StreamFile... files)
The files to stream.
|
StreamInfo.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The date when the stream was last updated.
|
StreamInfo.Builder |
roleArn(String roleArn)
An IAM role AWS IoT assumes to access your S3 files.
|
StreamInfo.Builder |
streamArn(String streamArn)
The stream ARN.
|
StreamInfo.Builder |
streamId(String streamId)
The stream ID.
|
StreamInfo.Builder |
streamVersion(Integer streamVersion)
The stream version.
|
copy
applyMutation, build
StreamInfo.Builder streamId(String streamId)
The stream ID.
streamId
- The stream ID.StreamInfo.Builder streamArn(String streamArn)
The stream ARN.
streamArn
- The stream ARN.StreamInfo.Builder streamVersion(Integer streamVersion)
The stream version.
streamVersion
- The stream version.StreamInfo.Builder description(String description)
The description of the stream.
description
- The description of the stream.StreamInfo.Builder files(Collection<StreamFile> files)
The files to stream.
files
- The files to stream.StreamInfo.Builder files(StreamFile... files)
The files to stream.
files
- The files to stream.StreamInfo.Builder files(Consumer<StreamFile.Builder>... files)
The files to stream.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #files(List)
.files
- a consumer that will call methods on List.Builder
#files(List)
StreamInfo.Builder createdAt(Instant createdAt)
The date when the stream was created.
createdAt
- The date when the stream was created.StreamInfo.Builder lastUpdatedAt(Instant lastUpdatedAt)
The date when the stream was last updated.
lastUpdatedAt
- The date when the stream was last updated.StreamInfo.Builder roleArn(String roleArn)
An IAM role AWS IoT assumes to access your S3 files.
roleArn
- An IAM role AWS IoT assumes to access your S3 files.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.