public static interface CreateChannelRequest.Builder extends IoTAnalyticsRequest.Builder, SdkPojo, CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>
Modifier and Type | Method and Description |
---|---|
CreateChannelRequest.Builder |
channelName(String channelName)
The name of the channel.
|
CreateChannelRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateChannelRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default CreateChannelRequest.Builder |
retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
How long, in days, message data is kept for the channel.
|
CreateChannelRequest.Builder |
retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel.
|
CreateChannelRequest.Builder |
tags(Collection<Tag> tags)
Metadata which can be used to manage the channel.
|
CreateChannelRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the channel.
|
CreateChannelRequest.Builder |
tags(Tag... tags)
Metadata which can be used to manage the channel.
|
build
overrideConfiguration
copy
applyMutation, build
CreateChannelRequest.Builder channelName(String channelName)
The name of the channel.
channelName
- The name of the channel.CreateChannelRequest.Builder retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel.
retentionPeriod
- How long, in days, message data is kept for the channel.default CreateChannelRequest.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
How long, in days, message data is kept for the channel.
This is a convenience that creates an instance of theRetentionPeriod.Builder
avoiding the need to
create one manually via RetentionPeriod.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to retentionPeriod(RetentionPeriod)
.retentionPeriod
- a consumer that will call methods on RetentionPeriod.Builder
retentionPeriod(RetentionPeriod)
CreateChannelRequest.Builder tags(Collection<Tag> tags)
Metadata which can be used to manage the channel.
tags
- Metadata which can be used to manage the channel.CreateChannelRequest.Builder tags(Tag... tags)
Metadata which can be used to manage the channel.
tags
- Metadata which can be used to manage the channel.CreateChannelRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the channel.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.