def by_planner_bucket_id(self,planner_bucket_id: str) -> PlannerBucketItemRequestBuilder:
        """
        Provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity.
        param planner_bucket_id: The unique identifier of plannerBucket
        Returns: PlannerBucketItemRequestBuilder
        """
        if planner_bucket_id is None:
            raise TypeError("planner_bucket_id cannot be null.")
        from .item.planner_bucket_item_request_builder import PlannerBucketItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["plannerBucket%2Did"] = planner_bucket_id
        return PlannerBucketItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the buckets property of the microsoft.graph.plannerPlan entity.
        param planner_bucket_id: The unique identifier of plannerBucket
        Returns: PlannerBucketItemRequestBuilder
        
msgraph/generated/users/item/planner/plans/item/buckets/buckets_request_builder.py