Interface CreateChannelRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>,IoTAnalyticsRequest.Builder,SdkBuilder<CreateChannelRequest.Builder,CreateChannelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateChannelRequest
public static interface CreateChannelRequest.Builder extends IoTAnalyticsRequest.Builder, SdkPojo, CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>
-
-
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.iotanalytics.model.IoTAnalyticsRequest.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
-
channelName
CreateChannelRequest.Builder channelName(String channelName)
The name of the channel.
- Parameters:
channelName- The name of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelStorage
CreateChannelRequest.Builder channelStorage(ChannelStorage channelStorage)
Where channel data is stored. You can choose one of
serviceManagedS3orcustomerManagedS3storage. If not specified, the default isserviceManagedS3. You can't change this storage option after the channel is created.- Parameters:
channelStorage- Where channel data is stored. You can choose one ofserviceManagedS3orcustomerManagedS3storage. If not specified, the default isserviceManagedS3. You can't change this storage option after the channel is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelStorage
default CreateChannelRequest.Builder channelStorage(Consumer<ChannelStorage.Builder> channelStorage)
Where channel data is stored. You can choose one of
This is a convenience method that creates an instance of theserviceManagedS3orcustomerManagedS3storage. If not specified, the default isserviceManagedS3. You can't change this storage option after the channel is created.ChannelStorage.Builderavoiding the need to create one manually viaChannelStorage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelStorage(ChannelStorage).- Parameters:
channelStorage- a consumer that will call methods onChannelStorage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
channelStorage(ChannelStorage)
-
retentionPeriod
CreateChannelRequest.Builder retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel. When
customerManagedS3storage is selected, this parameter is ignored.- Parameters:
retentionPeriod- How long, in days, message data is kept for the channel. WhencustomerManagedS3storage is selected, this parameter is ignored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
default CreateChannelRequest.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
How long, in days, message data is kept for the channel. When
This is a convenience method that creates an instance of thecustomerManagedS3storage is selected, this parameter is ignored.RetentionPeriod.Builderavoiding the need to create one manually viaRetentionPeriod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretentionPeriod(RetentionPeriod).- Parameters:
retentionPeriod- a consumer that will call methods onRetentionPeriod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
retentionPeriod(RetentionPeriod)
-
tags
CreateChannelRequest.Builder tags(Collection<Tag> tags)
Metadata which can be used to manage the channel.
- Parameters:
tags- Metadata which can be used to manage the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateChannelRequest.Builder tags(Tag... tags)
Metadata which can be used to manage the channel.
- Parameters:
tags- Metadata which can be used to manage the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateChannelRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the channel.
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 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
CreateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-