Struct aws_sdk_xray::client::fluent_builders::UpdateGroup
source · [−]pub struct UpdateGroup { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateGroup
.
Updates a group resource.
Implementations
sourceimpl UpdateGroup
impl UpdateGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateGroup, AwsResponseRetryClassifier>, SdkError<UpdateGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateGroup, AwsResponseRetryClassifier>, SdkError<UpdateGroupError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<UpdateGroupOutput, SdkError<UpdateGroupError>>
pub async fn send(self) -> Result<UpdateGroupOutput, SdkError<UpdateGroupError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The case-sensitive name of the group.
sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
The case-sensitive name of the group.
sourcepub fn group_arn(self, input: impl Into<String>) -> Self
pub fn group_arn(self, input: impl Into<String>) -> Self
The ARN that was generated upon creation.
sourcepub fn set_group_arn(self, input: Option<String>) -> Self
pub fn set_group_arn(self, input: Option<String>) -> Self
The ARN that was generated upon creation.
sourcepub fn filter_expression(self, input: impl Into<String>) -> Self
pub fn filter_expression(self, input: impl Into<String>) -> Self
The updated filter expression defining criteria by which to group traces.
sourcepub fn set_filter_expression(self, input: Option<String>) -> Self
pub fn set_filter_expression(self, input: Option<String>) -> Self
The updated filter expression defining criteria by which to group traces.
sourcepub fn insights_configuration(self, input: InsightsConfiguration) -> Self
pub fn insights_configuration(self, input: InsightsConfiguration) -> Self
The structure containing configurations related to insights.
-
The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
-
The NotifcationsEnabled boolean can be set to true to enable insights notifications for the group. Notifications can only be enabled on a group with InsightsEnabled set to true.
sourcepub fn set_insights_configuration(
self,
input: Option<InsightsConfiguration>
) -> Self
pub fn set_insights_configuration(
self,
input: Option<InsightsConfiguration>
) -> Self
The structure containing configurations related to insights.
-
The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
-
The NotifcationsEnabled boolean can be set to true to enable insights notifications for the group. Notifications can only be enabled on a group with InsightsEnabled set to true.
Trait Implementations
sourceimpl Clone for UpdateGroup
impl Clone for UpdateGroup
sourcefn clone(&self) -> UpdateGroup
fn clone(&self) -> UpdateGroup
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more