public static interface CreateStreamRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateStreamRequest.Builder,CreateStreamRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateStreamRequest.Builder streamId(String streamId)
The stream ID.
streamId
- The stream ID.CreateStreamRequest.Builder description(String description)
A description of the stream.
description
- A description of the stream.CreateStreamRequest.Builder files(Collection<StreamFile> files)
The files to stream.
files
- The files to stream.CreateStreamRequest.Builder files(StreamFile... files)
The files to stream.
files
- The files to stream.CreateStreamRequest.Builder files(Consumer<StreamFile.Builder>... files)
The files to stream.
This is a convenience method 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)
CreateStreamRequest.Builder roleArn(String roleArn)
An IAM role that allows the IoT service principal to access your S3 files.
roleArn
- An IAM role that allows the IoT service principal to access your S3 files.CreateStreamRequest.Builder tags(Collection<Tag> tags)
Metadata which can be used to manage streams.
tags
- Metadata which can be used to manage streams.CreateStreamRequest.Builder tags(Tag... tags)
Metadata which can be used to manage streams.
tags
- Metadata which can be used to manage streams.CreateStreamRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage streams.
This is a convenience method 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 #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateStreamRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateStreamRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.