Interface CreateChannelResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateChannelResponse.Builder,CreateChannelResponse>,IoTAnalyticsResponse.Builder,SdkBuilder<CreateChannelResponse.Builder,CreateChannelResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateChannelResponse
public static interface CreateChannelResponse.Builder extends IoTAnalyticsResponse.Builder, SdkPojo, CopyableBuilder<CreateChannelResponse.Builder,CreateChannelResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateChannelResponse.BuilderchannelArn(String channelArn)The ARN of the channel.CreateChannelResponse.BuilderchannelName(String channelName)The name of the channel.default CreateChannelResponse.BuilderretentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)How long, in days, message data is kept for the channel.CreateChannelResponse.BuilderretentionPeriod(RetentionPeriod retentionPeriod)How long, in days, message data is kept for the channel.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iotanalytics.model.IoTAnalyticsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
channelName
CreateChannelResponse.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.
-
channelArn
CreateChannelResponse.Builder channelArn(String channelArn)
The ARN of the channel.
- Parameters:
channelArn- The ARN of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
CreateChannelResponse.Builder retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel.
- Parameters:
retentionPeriod- How long, in days, message data is kept for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
default CreateChannelResponse.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
How long, in days, message data is kept for the channel.
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)
-
-