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
-
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
CreateStreamRequest.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
CreateStreamRequest.Builder description(String 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
CreateStreamRequest.Builder files(Collection<StreamFile> 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
CreateStreamRequest.Builder files(StreamFile... 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
CreateStreamRequest.Builder files(Consumer<StreamFile.Builder>... 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 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
CreateStreamRequest.Builder roleArn(String 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
CreateStreamRequest.Builder tags(Collection<Tag> 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
CreateStreamRequest.Builder tags(Tag... 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
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 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 to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
overrideConfiguration
CreateStreamRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateStreamRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-