pub struct Builder { /* private fields */ }
Expand description
A builder for Event
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn resource_collection(self, input: ResourceCollection) -> Self
pub fn resource_collection(self, input: ResourceCollection) -> Self
A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
sourcepub fn set_resource_collection(self, input: Option<ResourceCollection>) -> Self
pub fn set_resource_collection(self, input: Option<ResourceCollection>) -> Self
A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
sourcepub fn time(self, input: DateTime) -> Self
pub fn time(self, input: DateTime) -> Self
A Timestamp
that specifies the time the event occurred.
sourcepub fn set_time(self, input: Option<DateTime>) -> Self
pub fn set_time(self, input: Option<DateTime>) -> Self
A Timestamp
that specifies the time the event occurred.
sourcepub fn event_source(self, input: impl Into<String>) -> Self
pub fn event_source(self, input: impl Into<String>) -> Self
The Amazon Web Services source that emitted the event.
sourcepub fn set_event_source(self, input: Option<String>) -> Self
pub fn set_event_source(self, input: Option<String>) -> Self
The Amazon Web Services source that emitted the event.
sourcepub fn data_source(self, input: EventDataSource) -> Self
pub fn data_source(self, input: EventDataSource) -> Self
The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
, where DevOps Guru analysis found the event.
sourcepub fn set_data_source(self, input: Option<EventDataSource>) -> Self
pub fn set_data_source(self, input: Option<EventDataSource>) -> Self
The source, AWS_CLOUD_TRAIL
or AWS_CODE_DEPLOY
, where DevOps Guru analysis found the event.
sourcepub fn event_class(self, input: EventClass) -> Self
pub fn event_class(self, input: EventClass) -> Self
The class of the event. The class specifies what the event is related to, such as an infrastructure change, a deployment, or a schema change.
sourcepub fn set_event_class(self, input: Option<EventClass>) -> Self
pub fn set_event_class(self, input: Option<EventClass>) -> Self
The class of the event. The class specifies what the event is related to, such as an infrastructure change, a deployment, or a schema change.
sourcepub fn resources(self, input: EventResource) -> Self
pub fn resources(self, input: EventResource) -> Self
Appends an item to resources
.
To override the contents of this collection use set_resources
.
An EventResource
object that contains information about the resource that emitted the event.
sourcepub fn set_resources(self, input: Option<Vec<EventResource>>) -> Self
pub fn set_resources(self, input: Option<Vec<EventResource>>) -> Self
An EventResource
object that contains information about the resource that emitted the event.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more