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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateStreamRequest.Builder
description(String description)
The description of the stream.UpdateStreamRequest.Builder
files(Collection<StreamFile> files)
The files associated with the stream.UpdateStreamRequest.Builder
files(Consumer<StreamFile.Builder>... files)
The files associated with the stream.UpdateStreamRequest.Builder
files(StreamFile... files)
The files associated with the stream.UpdateStreamRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateStreamRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
UpdateStreamRequest.Builder
roleArn(String roleArn)
An IAM role that allows the IoT service principal assumes to access your S3 files.UpdateStreamRequest.Builder
streamId(String streamId)
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 Detail
-
streamId
UpdateStreamRequest.Builder streamId(String 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
UpdateStreamRequest.Builder description(String 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
UpdateStreamRequest.Builder files(Collection<StreamFile> 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
UpdateStreamRequest.Builder files(StreamFile... 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
UpdateStreamRequest.Builder files(Consumer<StreamFile.Builder>... 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 to#files(List
.) - 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:
#files(java.util.Collection
)
-
roleArn
UpdateStreamRequest.Builder roleArn(String 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateStreamRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-