Interface UpdateStreamRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateStreamRequest.Builder,
,UpdateStreamRequest> IotRequest.Builder
,SdkBuilder<UpdateStreamRequest.Builder,
,UpdateStreamRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateStreamRequest
public static interface UpdateStreamRequest.Builder
extends IotRequest.Builder, SdkPojo, CopyableBuilder<UpdateStreamRequest.Builder,UpdateStreamRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description of the stream.files
(Collection<StreamFile> files) The files associated with the stream.files
(Consumer<StreamFile.Builder>... files) The files associated with the stream.files
(StreamFile... files) The files associated with the 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 assumes to access your S3 files.The stream ID.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
The description of the stream.
- Parameters:
description
- The description of the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
The files associated with the stream.
- Parameters:
files
- The files associated with the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
The files associated with the stream.
- Parameters:
files
- The files associated with the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
files
The files associated with the 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 assumes to access your S3 files.
- Parameters:
roleArn
- An IAM role that allows the IoT service principal assumes to access your S3 files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateStreamRequest.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
UpdateStreamRequest.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.
-