pub struct Builder<T>(/* private fields */);
Expand description
A builder for SearchCheckAlertsRequest
Implementations§
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn next_page_token(self, next_page_token: impl Into<Option<Token>>) -> Self
pub fn next_page_token(self, next_page_token: impl Into<Option<Token>>) -> Self
Sets the next_page_token
field.
Sourcepub fn sort_by(
self,
sort_by: impl Into<Option<SearchCheckAlertsSortOptions>>,
) -> Self
pub fn sort_by( self, sort_by: impl Into<Option<SearchCheckAlertsSortOptions>>, ) -> Self
Sets the sort_by
field.
Sourcepub fn search_text(self, search_text: impl Into<Option<String>>) -> Self
pub fn search_text(self, search_text: impl Into<Option<String>>) -> Self
Sets the search_text
field.
Sourcepub fn status(
self,
status: impl Into<Option<BTreeSet<CheckAlertStatus>>>,
) -> Self
pub fn status( self, status: impl Into<Option<BTreeSet<CheckAlertStatus>>>, ) -> Self
Sets the status
field.
Sourcepub fn check_rids(
self,
check_rids: impl Into<Option<BTreeSet<CheckRid>>>,
) -> Self
pub fn check_rids( self, check_rids: impl Into<Option<BTreeSet<CheckRid>>>, ) -> Self
Sets the check_rids
field.
Sourcepub fn data_review_rids(
self,
data_review_rids: impl Into<Option<BTreeSet<DataReviewRid>>>,
) -> Self
pub fn data_review_rids( self, data_review_rids: impl Into<Option<BTreeSet<DataReviewRid>>>, ) -> Self
Sets the data_review_rids
field.
Sourcepub fn assignee_rids(
self,
assignee_rids: impl Into<Option<BTreeSet<UserRid>>>,
) -> Self
pub fn assignee_rids( self, assignee_rids: impl Into<Option<BTreeSet<UserRid>>>, ) -> Self
Sets the assignee_rids
field.
Sourcepub fn priorities(
self,
priorities: impl Into<Option<BTreeSet<Priority>>>,
) -> Self
pub fn priorities( self, priorities: impl Into<Option<BTreeSet<Priority>>>, ) -> Self
Sets the priorities
field.
Sourcepub fn insert_run_rids(self, run_rids: RunRid) -> Self
pub fn insert_run_rids(self, run_rids: RunRid) -> Self
Adds a value to the run_rids
field.
Sourcepub fn run_rids(self, run_rids: impl IntoIterator<Item = RunRid>) -> Self
pub fn run_rids(self, run_rids: impl IntoIterator<Item = RunRid>) -> Self
Sets the run_rids
field.
Sourcepub fn extend_run_rids(self, run_rids: impl IntoIterator<Item = RunRid>) -> Self
pub fn extend_run_rids(self, run_rids: impl IntoIterator<Item = RunRid>) -> Self
Adds values to the run_rids
field.
Sourcepub fn insert_asset_rids(self, asset_rids: AssetRid) -> Self
pub fn insert_asset_rids(self, asset_rids: AssetRid) -> Self
Adds a value to the asset_rids
field.
Sourcepub fn asset_rids(self, asset_rids: impl IntoIterator<Item = AssetRid>) -> Self
pub fn asset_rids(self, asset_rids: impl IntoIterator<Item = AssetRid>) -> Self
Sets the asset_rids
field.
Sourcepub fn extend_asset_rids(
self,
asset_rids: impl IntoIterator<Item = AssetRid>,
) -> Self
pub fn extend_asset_rids( self, asset_rids: impl IntoIterator<Item = AssetRid>, ) -> Self
Adds values to the asset_rids
field.
Sourcepub fn pinned_checklist_refs(
self,
pinned_checklist_refs: impl Into<Option<BTreeSet<PinnedChecklistRef>>>,
) -> Self
pub fn pinned_checklist_refs( self, pinned_checklist_refs: impl Into<Option<BTreeSet<PinnedChecklistRef>>>, ) -> Self
Sets the pinned_checklist_refs
field.
Sourcepub fn chart_rids(
self,
chart_rids: impl Into<Option<BTreeSet<VersionedVizId>>>,
) -> Self
pub fn chart_rids( self, chart_rids: impl Into<Option<BTreeSet<VersionedVizId>>>, ) -> Self
Sets the chart_rids
field.
Sourcepub fn notebook_rids(
self,
notebook_rids: impl Into<Option<BTreeSet<NotebookRid>>>,
) -> Self
pub fn notebook_rids( self, notebook_rids: impl Into<Option<BTreeSet<NotebookRid>>>, ) -> Self
Sets the notebook_rids
field.
Sourcepub fn show_archived(self, show_archived: impl Into<Option<bool>>) -> Self
pub fn show_archived(self, show_archived: impl Into<Option<bool>>) -> Self
Sets the show_archived
field.
Sourcepub fn archived_statuses(
self,
archived_statuses: impl Into<Option<BTreeSet<ArchivedStatus>>>,
) -> Self
pub fn archived_statuses( self, archived_statuses: impl Into<Option<BTreeSet<ArchivedStatus>>>, ) -> Self
Sets the archived_statuses
field.
Sourcepub fn build(self) -> SearchCheckAlertsRequest
pub fn build(self) -> SearchCheckAlertsRequest
Consumes the builder, returning a SearchCheckAlertsRequest
.
Trait Implementations§
Source§impl From<SearchCheckAlertsRequest> for Builder<Complete>
impl From<SearchCheckAlertsRequest> for Builder<Complete>
Source§fn from(v: SearchCheckAlertsRequest) -> Self
fn from(v: SearchCheckAlertsRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnwindSafe for Builder<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request