Struct aws_sdk_codeguruprofiler::model::channel::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Channel
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
Unique identifier for each Channel
in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
Unique identifier for each Channel
in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request.
sourcepub fn uri(self, input: impl Into<String>) -> Self
pub fn uri(self, input: impl Into<String>) -> Self
Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.
sourcepub fn set_uri(self, input: Option<String>) -> Self
pub fn set_uri(self, input: Option<String>) -> Self
Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.
sourcepub fn event_publishers(self, input: EventPublisher) -> Self
pub fn event_publishers(self, input: EventPublisher) -> Self
Appends an item to event_publishers
.
To override the contents of this collection use set_event_publishers
.
List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.
sourcepub fn set_event_publishers(self, input: Option<Vec<EventPublisher>>) -> Self
pub fn set_event_publishers(self, input: Option<Vec<EventPublisher>>) -> Self
List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.