Struct aws_sdk_codeguruprofiler::types::builders::ChannelBuilder
source · #[non_exhaustive]pub struct ChannelBuilder { /* private fields */ }
Expand description
A builder for Channel
.
Implementations§
source§impl ChannelBuilder
impl ChannelBuilder
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 get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
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.
This field is required.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 get_uri(&self) -> &Option<String>
pub fn get_uri(&self) -> &Option<String>
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.
sourcepub fn get_event_publishers(&self) -> &Option<Vec<EventPublisher>>
pub fn get_event_publishers(&self) -> &Option<Vec<EventPublisher>>
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.
Trait Implementations§
source§impl Clone for ChannelBuilder
impl Clone for ChannelBuilder
source§fn clone(&self) -> ChannelBuilder
fn clone(&self) -> ChannelBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChannelBuilder
impl Debug for ChannelBuilder
source§impl Default for ChannelBuilder
impl Default for ChannelBuilder
source§fn default() -> ChannelBuilder
fn default() -> ChannelBuilder
source§impl PartialEq for ChannelBuilder
impl PartialEq for ChannelBuilder
source§fn eq(&self, other: &ChannelBuilder) -> bool
fn eq(&self, other: &ChannelBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.