Interface CreateStreamRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateStreamRequest.Builder,
,CreateStreamRequest> IotRequest.Builder
,SdkBuilder<CreateStreamRequest.Builder,
,CreateStreamRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateStreamRequest
public static interface CreateStreamRequest.Builder
extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateStreamRequest.Builder,CreateStreamRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the stream.files
(Collection<StreamFile> files) The files to stream.files
(Consumer<StreamFile.Builder>... files) The files to stream.files
(StreamFile... files) The files to stream.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.An IAM role that allows the IoT service principal to access your S3 files.The stream ID.tags
(Collection<Tag> tags) Metadata which can be used to manage streams.tags
(Consumer<Tag.Builder>... tags) Metadata which can be used to manage streams.Metadata which can be used to manage streams.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
streamId
The stream ID.
- Parameters:
streamId
- The stream ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the stream.
- Parameters:
description
- A description of the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
The files to stream.
- Parameters:
files
- The files to stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
The files to stream.
- Parameters:
files
- The files to stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
The files to stream.
This is a convenience method that creates an instance of theStreamFile.Builder
avoiding the need to create one manually viaStreamFile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofiles(List<StreamFile>)
.- Parameters:
files
- a consumer that will call methods onStreamFile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
An IAM role that allows the IoT service principal to access your S3 files.
- Parameters:
roleArn
- An IAM role that allows the IoT service principal to access your S3 files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata which can be used to manage streams.
- Parameters:
tags
- Metadata which can be used to manage streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata which can be used to manage streams.
- Parameters:
tags
- Metadata which can be used to manage streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata which can be used to manage streams.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateStreamRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateStreamRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-