Interface UpdateChannelRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateChannelRequest.Builder,UpdateChannelRequest>,IoTAnalyticsRequest.Builder,SdkBuilder<UpdateChannelRequest.Builder,UpdateChannelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateChannelRequest
public static interface UpdateChannelRequest.Builder extends IoTAnalyticsRequest.Builder, SdkPojo, CopyableBuilder<UpdateChannelRequest.Builder,UpdateChannelRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateChannelRequest.BuilderchannelName(String channelName)The name of the channel to be updated.default UpdateChannelRequest.BuilderchannelStorage(Consumer<ChannelStorage.Builder> channelStorage)Where channel data is stored.UpdateChannelRequest.BuilderchannelStorage(ChannelStorage channelStorage)Where channel data is stored.UpdateChannelRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateChannelRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateChannelRequest.BuilderretentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)How long, in days, message data is kept for the channel.UpdateChannelRequest.BuilderretentionPeriod(RetentionPeriod retentionPeriod)How long, in days, message data is kept for the channel.-
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
UpdateChannelRequest.Builder channelName(String channelName)
The name of the channel to be updated.
- Parameters:
channelName- The name of the channel to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelStorage
UpdateChannelRequest.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 UpdateChannelRequest.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
UpdateChannelRequest.Builder retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel. The retention period can't be updated if the channel's Amazon S3 storage is customer-managed.
- Parameters:
retentionPeriod- How long, in days, message data is kept for the channel. The retention period can't be updated if the channel's Amazon S3 storage is customer-managed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
default UpdateChannelRequest.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
How long, in days, message data is kept for the channel. The retention period can't be updated if the channel's Amazon S3 storage is customer-managed.
This is a convenience method that creates an instance of theRetentionPeriod.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)
-
overrideConfiguration
UpdateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-