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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaStreamFile.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-