Interface DescribeStreamResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeStreamResponse.Builder,DescribeStreamResponse>
,KinesisResponse.Builder
,SdkBuilder<DescribeStreamResponse.Builder,DescribeStreamResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeStreamResponse
public static interface DescribeStreamResponse.Builder extends KinesisResponse.Builder, SdkPojo, CopyableBuilder<DescribeStreamResponse.Builder,DescribeStreamResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeStreamResponse.Builder
streamDescription(Consumer<StreamDescription.Builder> streamDescription)
The current status of the stream, the stream Amazon Resource Name (ARN), an array of shard objects that comprise the stream, and whether there are more shards available.DescribeStreamResponse.Builder
streamDescription(StreamDescription streamDescription)
The current status of the stream, the stream Amazon Resource Name (ARN), an array of shard objects that comprise the stream, and whether there are more shards available.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kinesis.model.KinesisResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
streamDescription
DescribeStreamResponse.Builder streamDescription(StreamDescription streamDescription)
The current status of the stream, the stream Amazon Resource Name (ARN), an array of shard objects that comprise the stream, and whether there are more shards available.
- Parameters:
streamDescription
- The current status of the stream, the stream Amazon Resource Name (ARN), an array of shard objects that comprise the stream, and whether there are more shards available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamDescription
default DescribeStreamResponse.Builder streamDescription(Consumer<StreamDescription.Builder> streamDescription)
The current status of the stream, the stream Amazon Resource Name (ARN), an array of shard objects that comprise the stream, and whether there are more shards available.
This is a convenience method that creates an instance of theStreamDescription.Builder
avoiding the need to create one manually viaStreamDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreamDescription(StreamDescription)
.- Parameters:
streamDescription
- a consumer that will call methods onStreamDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
streamDescription(StreamDescription)
-
-