pub struct Builder<T>(/* private fields */);Expand description
A builder for AlertMessageFields
Implementations§
Source§impl Builder<AssetTitleStage>
impl Builder<AssetTitleStage>
Sourcepub fn asset_title(
self,
asset_title: impl Into<String>,
) -> Builder<CheckTitleStage>
pub fn asset_title( self, asset_title: impl Into<String>, ) -> Builder<CheckTitleStage>
Sets the asset_title field.
Source§impl Builder<CheckTitleStage>
impl Builder<CheckTitleStage>
Sourcepub fn check_title(
self,
check_title: impl Into<String>,
) -> Builder<CheckDescriptionStage>
pub fn check_title( self, check_title: impl Into<String>, ) -> Builder<CheckDescriptionStage>
Sets the check_title field.
Source§impl Builder<CheckDescriptionStage>
impl Builder<CheckDescriptionStage>
Sourcepub fn check_description(
self,
check_description: impl Into<String>,
) -> Builder<ChecklistTitleStage>
pub fn check_description( self, check_description: impl Into<String>, ) -> Builder<ChecklistTitleStage>
Sets the check_description field.
Source§impl Builder<ChecklistTitleStage>
impl Builder<ChecklistTitleStage>
Sourcepub fn checklist_title(
self,
checklist_title: impl Into<String>,
) -> Builder<AssetRidStage>
pub fn checklist_title( self, checklist_title: impl Into<String>, ) -> Builder<AssetRidStage>
Sets the checklist_title field.
Source§impl Builder<AssetRidStage>
impl Builder<AssetRidStage>
Sourcepub fn asset_rid(self, asset_rid: AssetRid) -> Builder<CheckLineageRidStage>
pub fn asset_rid(self, asset_rid: AssetRid) -> Builder<CheckLineageRidStage>
Sets the asset_rid field.
Source§impl Builder<CheckLineageRidStage>
impl Builder<CheckLineageRidStage>
Sourcepub fn check_lineage_rid(
self,
check_lineage_rid: CheckLineageRid,
) -> Builder<EventTypeStage>
pub fn check_lineage_rid( self, check_lineage_rid: CheckLineageRid, ) -> Builder<EventTypeStage>
Sets the check_lineage_rid field.
Source§impl Builder<EventTypeStage>
impl Builder<EventTypeStage>
Sourcepub fn event_type(self, event_type: EventType) -> Builder<PriorityStage>
pub fn event_type(self, event_type: EventType) -> Builder<PriorityStage>
Sets the event_type field.
Source§impl Builder<PriorityStage>
impl Builder<PriorityStage>
Sourcepub fn priority(self, priority: Priority) -> Builder<AlertTypeStage>
pub fn priority(self, priority: Priority) -> Builder<AlertTypeStage>
Sets the priority field.
Source§impl Builder<AlertTypeStage>
impl Builder<AlertTypeStage>
Sourcepub fn alert_type(self, alert_type: AlertType) -> Builder<Complete>
pub fn alert_type(self, alert_type: AlertType) -> Builder<Complete>
Sets the alert_type field.
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn asset_title(self, asset_title: impl Into<String>) -> Self
pub fn asset_title(self, asset_title: impl Into<String>) -> Self
Sets the asset_title field.
Sourcepub fn check_title(self, check_title: impl Into<String>) -> Self
pub fn check_title(self, check_title: impl Into<String>) -> Self
Sets the check_title field.
Sourcepub fn check_description(self, check_description: impl Into<String>) -> Self
pub fn check_description(self, check_description: impl Into<String>) -> Self
Sets the check_description field.
Sourcepub fn checklist_title(self, checklist_title: impl Into<String>) -> Self
pub fn checklist_title(self, checklist_title: impl Into<String>) -> Self
Sets the checklist_title field.
Sourcepub fn check_lineage_rid(self, check_lineage_rid: CheckLineageRid) -> Self
pub fn check_lineage_rid(self, check_lineage_rid: CheckLineageRid) -> Self
Sets the check_lineage_rid field.
Sourcepub fn workbook_url(self, workbook_url: impl Into<Option<String>>) -> Self
pub fn workbook_url(self, workbook_url: impl Into<Option<String>>) -> Self
Sets the workbook_url field.
Sourcepub fn event_type(self, event_type: EventType) -> Self
pub fn event_type(self, event_type: EventType) -> Self
Sets the event_type field.
Sourcepub fn push_labels(self, labels: impl Into<String>) -> Self
pub fn push_labels(self, labels: impl Into<String>) -> Self
Adds a value to the labels field.
Sourcepub fn labels(self, labels: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn labels(self, labels: impl IntoIterator<Item = impl Into<String>>) -> Self
Sets the labels field.
Sourcepub fn extend_labels(
self,
labels: impl IntoIterator<Item = impl Into<String>>,
) -> Self
pub fn extend_labels( self, labels: impl IntoIterator<Item = impl Into<String>>, ) -> Self
Adds values to the labels field.
Sourcepub fn alert_type(self, alert_type: AlertType) -> Self
pub fn alert_type(self, alert_type: AlertType) -> Self
Sets the alert_type field.
Sourcepub fn build(self) -> AlertMessageFields
pub fn build(self) -> AlertMessageFields
Consumes the builder, returning a AlertMessageFields.
Trait Implementations§
Source§impl Default for Builder<AssetTitleStage>
impl Default for Builder<AssetTitleStage>
Source§impl From<AlertMessageFields> for Builder<Complete>
impl From<AlertMessageFields> for Builder<Complete>
Source§fn from(v: AlertMessageFields) -> Self
fn from(v: AlertMessageFields) -> 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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§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