Interface DescribeStreamResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeStreamResponse.Builder,DescribeStreamResponse>,DynamoDbStreamsResponse.Builder,SdkBuilder<DescribeStreamResponse.Builder,DescribeStreamResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeStreamResponse
@Mutable @NotThreadSafe public static interface DescribeStreamResponse.Builder extends DynamoDbStreamsResponse.Builder, SdkPojo, CopyableBuilder<DescribeStreamResponse.Builder,DescribeStreamResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeStreamResponse.BuilderstreamDescription(Consumer<StreamDescription.Builder> streamDescription)A complete description of the stream, including its creation date and time, the DynamoDB table associated with the stream, the shard IDs within the stream, and the beginning and ending sequence numbers of stream records within the shards.DescribeStreamResponse.BuilderstreamDescription(StreamDescription streamDescription)A complete description of the stream, including its creation date and time, the DynamoDB table associated with the stream, the shard IDs within the stream, and the beginning and ending sequence numbers of stream records within the shards.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbStreamsResponse.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
-
streamDescription
DescribeStreamResponse.Builder streamDescription(StreamDescription streamDescription)
A complete description of the stream, including its creation date and time, the DynamoDB table associated with the stream, the shard IDs within the stream, and the beginning and ending sequence numbers of stream records within the shards.
- Parameters:
streamDescription- A complete description of the stream, including its creation date and time, the DynamoDB table associated with the stream, the shard IDs within the stream, and the beginning and ending sequence numbers of stream records within the shards.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamDescription
default DescribeStreamResponse.Builder streamDescription(Consumer<StreamDescription.Builder> streamDescription)
A complete description of the stream, including its creation date and time, the DynamoDB table associated with the stream, the shard IDs within the stream, and the beginning and ending sequence numbers of stream records within the shards.
This is a convenience method that creates an instance of theStreamDescription.Builderavoiding the need to create one manually viaStreamDescription.builder().When the
Consumercompletes,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)
-
-