public static interface CreateChannelResponse.Builder extends IoTAnalyticsResponse.Builder, SdkPojo, CopyableBuilder<CreateChannelResponse.Builder,CreateChannelResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateChannelResponse.Builder |
channelArn(String channelArn)
The ARN of the channel.
|
CreateChannelResponse.Builder |
channelName(String channelName)
The name of the channel.
|
default CreateChannelResponse.Builder |
retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
How long, in days, message data is kept for the channel.
|
CreateChannelResponse.Builder |
retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the channel.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildCreateChannelResponse.Builder channelName(String channelName)
The name of the channel.
channelName - The name of the channel.CreateChannelResponse.Builder channelArn(String channelArn)
The ARN of the channel.
channelArn - The ARN of the channel.CreateChannelResponse.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 CreateChannelResponse.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.BuilderretentionPeriod(RetentionPeriod)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.