Interface DescribeChannelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeChannelResponse.Builder,,DescribeChannelResponse> IoTAnalyticsResponse.Builder,SdkBuilder<DescribeChannelResponse.Builder,,DescribeChannelResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeChannelResponse
public static interface DescribeChannelResponse.Builder
extends IoTAnalyticsResponse.Builder, SdkPojo, CopyableBuilder<DescribeChannelResponse.Builder,DescribeChannelResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeChannelResponse.Builderchannel(Consumer<Channel.Builder> channel) An object that contains information about the channel.An object that contains information about the channel.default DescribeChannelResponse.Builderstatistics(Consumer<ChannelStatistics.Builder> statistics) Statistics about the channel.statistics(ChannelStatistics statistics) Statistics about the channel.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotanalytics.model.IoTAnalyticsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channel
An object that contains information about the channel.
- Parameters:
channel- An object that contains information about the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channel
An object that contains information about the channel.
This is a convenience method that creates an instance of theChannel.Builderavoiding the need to create one manually viaChannel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannel(Channel).- Parameters:
channel- a consumer that will call methods onChannel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statistics
Statistics about the channel. Included if the
includeStatisticsparameter is set totruein the request.- Parameters:
statistics- Statistics about the channel. Included if theincludeStatisticsparameter is set totruein the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
Statistics about the channel. Included if the
This is a convenience method that creates an instance of theincludeStatisticsparameter is set totruein the request.ChannelStatistics.Builderavoiding the need to create one manually viaChannelStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatistics(ChannelStatistics).- Parameters:
statistics- a consumer that will call methods onChannelStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-