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 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStreamInfo.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 method that creates an instance of theStreamFile.Builder avoiding the need to create one manually
via StreamFile.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #files(List.
files - a consumer that will call methods on
StreamFile.Builder#files(java.util.Collection) 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 IoT assumes to access your S3 files.
roleArn - An IAM role IoT assumes to access your S3 files.Copyright © 2023. All rights reserved.