Interface ShardFilter.Builder

    • Method Detail

      • type

        ShardFilter.Builder type​(String type)

        Contains the type of filter to be applied on the DescribeStream API. Currently, the only value this parameter accepts is CHILD_SHARDS.

        Parameters:
        type - Contains the type of filter to be applied on the DescribeStream API. Currently, the only value this parameter accepts is CHILD_SHARDS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ShardFilterType, ShardFilterType
      • type

        ShardFilter.Builder type​(ShardFilterType type)

        Contains the type of filter to be applied on the DescribeStream API. Currently, the only value this parameter accepts is CHILD_SHARDS.

        Parameters:
        type - Contains the type of filter to be applied on the DescribeStream API. Currently, the only value this parameter accepts is CHILD_SHARDS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ShardFilterType, ShardFilterType
      • shardId

        ShardFilter.Builder shardId​(String shardId)

        Contains the shardId of the parent shard for which you are requesting child shards.

        Sample request:

        Parameters:
        shardId - Contains the shardId of the parent shard for which you are requesting child shards.

        Sample request:

        Returns:
        Returns a reference to this object so that method calls can be chained together.